This repository has been archived by the owner on Sep 3, 2023. It is now read-only.
Releases: afollestad/material-dialogs
Releases · afollestad/material-dialogs
2.7.0
- Undid dialog max width changes again, to what they were before they looked small. Added
maxWidth
setter function that you can use to custom dialog max widths if you wish, although it's discouraged. - Added a
dialogWrapContent
parameter tocustomView(...)
which instructs the dialog to set its max width to the measured width of your custom view. - The
datetime
dialogs use thedialogWrapContent
parameter above, which fixes how they look in landscape etc. - You can set a
maxDate
for date picker dialogs. - Misc. bug fixes and code cleanup.
2.6.0
- Added
md_color_widget_unchecked
attribute to compliment the previously addedmd_color_widget
attribute. - Fixed time and datetime pickers not handling default time correctly. See #1766.
- Use JDK 8 version of the Kotlin plugin dependency.
2.5.0
- Added
md_color_widget
theme attribute to apply custom coloring to checkbox prompts and controls in single/multi-choice lists. - Fix the list selection callback in plain lists when
waitForPositiveButton=false
. See #1751.
2.4.0
- Fix action button selectors being cut off on the bottom, see #1759.
- Re-applied smaller dialog max width values to match the Material spec.
- Fix vertical spacing on datetime dialogs when there is no dialog title, see #1757.
- Fixed neutral button positioning, although you still should prefer to not use it.
- Use semi-transparent primary theme color for the ripple of action buttons on API 21+.
2.3.0
datetime
no longer has a dependency on ThreetenBP. Uses Java's Calendar
instead. Sorry to those who are already using it with LocalDateTime
.
2.2.0
- Added a
datetime
module which provides date, time, and date/time selector dialogs. - Reverted dialog max-width values to the previous values.
- Action buttons should use the primary theme color by default per the newer specs.
2.1.0
- Fix layout issues with action buttons and content views (to match Material Spec correctly, again). To visualize this, call
debugMode(true)
on your dialogs before opening them. - Dependency upgrades.
- A new
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) - Fixed background fill color on input field of input dialogs when using alpha versions of Material Components alongside this lib.
2.0.3
Another very minor release.
Fixed list item text not being vertically centered in choice lists.
2.0.2
Very minor release.
Fixes issues with stacked action button text gravity.
2.0.1
- Fix input dialog button enabled invalidation logic when using max length and allowEmpty=false.
- Include
ColorPalette
class in the color module, which provides primary and accent colors to use in the color chooser dialogs. - Added a theme attribute you can use in your app to not use all caps in action buttons.
- Fix an input dialog crash.