😍 A beautiful, fluid, and extensible dialogs API for Kotlin & Android.
maxWidth
setter function that you can use to custom dialog max widths if you wish, although it's discouraged.dialogWrapContent
parameter to customView(...)
which instructs the dialog to set its max width to the measured width of your custom view.datetime
dialogs use the dialogWrapContent
parameter above, which fixes how they look in landscape etc.maxDate
for date picker dialogs.md_color_widget_unchecked
attribute to compliment the previously added md_color_widget
attribute.md_color_widget
theme attribute to apply custom coloring to checkbox prompts and controls in single/multi-choice lists.waitForPositiveButton=false
. See #1751.datetime
no longer has a dependency on ThreetenBP. Uses Java's Calendar
instead. Sorry to those who are already using it with LocalDateTime
.
datetime
module which provides date, time, and date/time selector dialogs.debugMode(true)
on your dialogs before opening them.lifecycle
module is available, which for now just adds an extension method to auto close dialogs when a lifecycle owner is destroyed. Check out the README for details. (will be available through jCenter shortly)Another very minor release.
Fixed list item text not being vertically centered in choice lists.
Very minor release.
Fixes issues with stacked action button text gravity.
ColorPalette
class in the color module, which provides primary and accent colors to use in the color chooser dialogs.