Skip to content

Commit 5dff809

Browse files
committed
Update README.md
1 parent 14eb346 commit 5dff809

File tree

1 file changed

+23
-2
lines changed

1 file changed

+23
-2
lines changed

README.md

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ An Android library to create fully material designed bottom dialogs similar to t
55

66
## Releases:
77

8-
#### Current release: 2.1.2.
8+
#### Current release: 2.2.0.
99

1010
- This library is now based on Kotlin and AndroidX.
1111

@@ -37,10 +37,30 @@ allprojects {
3737
}
3838
```
3939

40+
Or if you are using KTS, add this into your *settings.gradle.kts* file:
41+
42+
```
43+
dependencyResolutionManagement {
44+
...
45+
repositories {
46+
...
47+
maven {
48+
setUrl("https://jitpack.io")
49+
}
50+
}
51+
}
52+
```
53+
4054
Now add the dependency to your app build.gradle file:
4155

4256
```
43-
implementation 'com.github.marcoscgdev:DialogSheet:2.1.2'
57+
implementation 'com.github.marcoscgdev:DialogSheet:2.2.0'
58+
```
59+
60+
Or if you are using KTS:
61+
62+
```
63+
implementation("com.github.marcoscgdev:DialogSheet:2.2.0")
4464
```
4565

4666
### Creating the dialog
@@ -145,6 +165,7 @@ Override it if you want :P
145165
<dimen name="dialog_sheet_icon_size">56dp</dimen>
146166
<dimen name="dialog_sheet_v2_icon_size">60dp</dimen>
147167
<dimen name="dialog_sheet_button_text_size">15sp</dimen>
168+
<dimen name="dialog_sheet_landscape_width">400dp</dimen>
148169
```
149170

150171
---

0 commit comments

Comments
 (0)