Skip to content
This repository has been archived by the owner on Sep 3, 2023. It is now read-only.

Releases: afollestad/material-dialogs

2.7.0

06 Apr 20:33
Compare
Choose a tag to compare
  1. 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.
  2. Added a dialogWrapContent parameter to customView(...) which instructs the dialog to set its max width to the measured width of your custom view.
  3. The datetime dialogs use the dialogWrapContent parameter above, which fixes how they look in landscape etc.
  4. You can set a maxDate for date picker dialogs.
  5. Misc. bug fixes and code cleanup.

2.6.0

26 Mar 20:33
Compare
Choose a tag to compare
  1. Added md_color_widget_unchecked attribute to compliment the previously added md_color_widget attribute.
  2. Fixed time and datetime pickers not handling default time correctly. See #1766.
  3. Use JDK 8 version of the Kotlin plugin dependency.

2.5.0

23 Mar 21:04
Compare
Choose a tag to compare
  1. Added md_color_widget theme attribute to apply custom coloring to checkbox prompts and controls in single/multi-choice lists.
  2. Fix the list selection callback in plain lists when waitForPositiveButton=false. See #1751.

2.4.0

20 Mar 19:46
Compare
Choose a tag to compare
  1. Fix action button selectors being cut off on the bottom, see #1759.
  2. Re-applied smaller dialog max width values to match the Material spec.
  3. Fix vertical spacing on datetime dialogs when there is no dialog title, see #1757.
  4. Fixed neutral button positioning, although you still should prefer to not use it.
  5. Use semi-transparent primary theme color for the ripple of action buttons on API 21+.

2.3.0

19 Mar 21:20
Compare
Choose a tag to compare

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

18 Mar 23:32
Compare
Choose a tag to compare
  1. Added a datetime module which provides date, time, and date/time selector dialogs.
  2. Reverted dialog max-width values to the previous values.
  3. Action buttons should use the primary theme color by default per the newer specs.

2.1.0

16 Mar 08:04
Compare
Choose a tag to compare
  1. 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.
  2. Dependency upgrades.
  3. 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)
  4. Fixed background fill color on input field of input dialogs when using alpha versions of Material Components alongside this lib.

2.0.3

26 Feb 18:48
Compare
Choose a tag to compare

Another very minor release.

Fixed list item text not being vertically centered in choice lists.

2.0.2

25 Feb 20:25
Compare
Choose a tag to compare

Very minor release.

Fixes issues with stacked action button text gravity.

2.0.1

25 Feb 02:49
Compare
Choose a tag to compare
  1. Fix input dialog button enabled invalidation logic when using max length and allowEmpty=false.
  2. Include ColorPalette class in the color module, which provides primary and accent colors to use in the color chooser dialogs.
  3. Added a theme attribute you can use in your app to not use all caps in action buttons.
  4. Fix an input dialog crash.