|
@@ -11,6 +11,7 @@ For the full history, see the [Changelog](https://github.com/afollestad/material
|
|
|
###### Version 0.5.3
|
|
|
|
|
|
> 1. Global theming attributes for dialog background color and divider color. See the [Global Theming section](https://github.com/afollestad/material-dialogs#global-theming).
|
|
|
+> 2. These attributes can be set through the `Builder` too (`dividerColor`, `dividerColorRes`, `backgroundColor`, `backgroundColorRes`).
|
|
|
> 2. Lots and lots of improvements for RTL support! This includes the title, list content, and action buttons in RTL layout mode (API 17 and above only).
|
|
|
> One thing to come from this is the action buttons are no longer actual `Button` instances, they're text views wrapped in frame layouts in order to make gravity work correctly.
|
|
|
> 3. Other bug fixes.
|
|
@@ -344,6 +345,8 @@ new MaterialDialog.Builder(this)
|
|
|
.titleGravity(Gravity.CENTER_HORIZONTAL)
|
|
|
.titleColor(materialRed500)
|
|
|
.contentColor(Color.WHITE)
|
|
|
+ .dividerColorRes(R.color.material_pink_500)
|
|
|
+ .backgroundColorRes(R.color.material_blue_grey_800)
|
|
|
.theme(Theme.DARK)
|
|
|
.show();
|
|
|
```
|