Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoscgdev committed Oct 2, 2018
2 parents 515f2a4 + 81802c3 commit c438618
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ An Android library to create fully material designed bottom dialogs similar to t

## Releases:

#### Current release: 1.0.6.
#### Current release: 2.0.0-beta.

You can see all the library releases [here](https://github.com/marcoscgdev/DialogSheet/releases).

Expand All @@ -16,7 +16,7 @@ You can see all the library releases [here](https://github.com/marcoscgdev/Dialo

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

Download the sample apk [here](https://github.com/marcoscgdev/DialogSheet/releases/download/1.0.4/app-debug.apk).
Download the sample apk [here](https://github.com/marcoscgdev/DialogSheet/releases/download/2.0.0-beta/app-debug.apk).

---

Expand All @@ -38,7 +38,7 @@ allprojects {
Now add the dependency to your app build.gradle file:

```
implementation 'com.github.marcoscgdev:DialogSheet:1.0.6'
implementation 'com.github.marcoscgdev:DialogSheet:2.0.0-beta'
```

### Creating the dialog with Java
Expand Down Expand Up @@ -88,6 +88,14 @@ dialogSheet.setCancelable(false)
.show()
```

### Colorize buttons

Add this atribute to your main app theme

```xml
<item name="dialogSheetAccent">@color/colorAccent</item>
```

#### (TIP) Adding a custom view:

- Via inflated view:
Expand Down

0 comments on commit c438618

Please sign in to comment.