Skip to content

Commit 8f5fea1

Browse files
authored
Update README.md
1 parent 869d947 commit 8f5fea1

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 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.0.8.
8+
#### Current release: 2.0.9.
99

1010
- Now with buttons coloring support (again) via code.
1111
- Now with AndroidX support.
@@ -19,7 +19,7 @@ You can see all the library releases [here](https://github.com/marcoscgdev/Dialo
1919

2020
<kbd><img src="https://raw.githubusercontent.com/marcoscgdev/DialogSheet/master/screenshots/sc_3.png" width="620"></kbd>
2121

22-
Download the sample apk [here](https://github.com/marcoscgdev/DialogSheet/releases/download/2.0.7/app-debug.apk).
22+
Download the sample apk [here](https://github.com/marcoscgdev/DialogSheet/releases/download/2.0.9/app-debug.apk).
2323

2424
---
2525

@@ -41,7 +41,7 @@ allprojects {
4141
Now add the dependency to your app build.gradle file:
4242

4343
```
44-
implementation 'com.github.marcoscgdev:DialogSheet:2.0.8'
44+
implementation 'com.github.marcoscgdev:DialogSheet:2.0.9'
4545
```
4646

4747
### Creating the dialog with Java
@@ -53,6 +53,7 @@ new DialogSheet(this)
5353
.setTitle(R.string.app_name)
5454
.setMessage(R.string.lorem)
5555
.setColoredNavigationBar(true)
56+
.setTitleTextSize(20) // In SP
5657
.setCancelable(false)
5758
.setPositiveButton(android.R.string.ok, new DialogSheet.OnPositiveClickListener() {
5859
@Override
@@ -81,6 +82,7 @@ val dialogSheet:DialogSheet = DialogSheet(this@MainActivity)
8182
.setTitle(R.string.app_name)
8283
.setMessage(R.string.lorem)
8384
.setColoredNavigationBar(true)
85+
.setTitleTextSize(20) // In SP
8486
.setCancelable(false)
8587
.setPositiveButton(android.R.string.ok) {
8688
// Your action

0 commit comments

Comments
 (0)