Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dogukan.keskinoglu committed Dec 16, 2021
1 parent d99bbae commit 4acc964
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion libraries/dialogs/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

<img src="https://raw.githubusercontent.com/Trendyol/android-ui-components/master/images/dialogs-1.png" width="280"/> <img src="https://raw.githubusercontent.com/Trendyol/android-ui-components/master/images/dialogs-2.png" width="280"/> <img src="https://raw.githubusercontent.com/Trendyol/android-ui-components/master/images/dialogs-3.png" width="280"/> <img src="https://raw.githubusercontent.com/Trendyol/android-ui-components/master/images/dialogs-4.png" width="280"/> <img src="https://raw.githubusercontent.com/Trendyol/android-ui-components/master/images/dialogs-5.png" width="280"/>

$dialogsVersion = dialogs-1.2.4 [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
$dialogsVersion = dialogs-1.2.8 [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

## Dialogs
Dialogs is a bunch of BottomSheetDialogs to use in app to show user an information, agreement or list.
Expand Down Expand Up @@ -101,6 +101,8 @@ All **Info Dialog** arguments plus these arguments will be applicable to show se
| `selectedItemDrawable` | Int | Drawable resource for selected item icon. | null |
| `selectedTextColor` | Int | Color resource for selected item text color. | null |
| `showRadioButton` | Boolean | Radio button visibility | false |
| `titleTextColor` | Int | Color resource for title text color. | null |
| `animateCornerRadiusWhenExpand` | Boolean | Corner radius will be removed with an animation when set true. | false |

Sample usage:
```kotlin
Expand All @@ -109,6 +111,8 @@ selectionDialog {
content = getContent()
items = getItemsAsHtml()
showItemsAsHtml = true
titleTextColor = R.color.colorPrimary
animateCornerRadiusWhenExpand = true
selectedItemDrawable = R.drawable.ic_check
selectedTextColor = R.color.colorPrimary
showRadioButton = true
Expand Down

0 comments on commit 4acc964

Please sign in to comment.