Browse Source

Release 0.5.4

Aidan Follestad 10 years ago
parent
commit
4cf6ca063c

+ 12 - 0
CHANGELOG.md

@@ -1,5 +1,15 @@
 # Changelog
 
+###### Version 0.5.4
+
+> 1. Fixes for positioning of negative button (bug that came up with the previous update that improved RTL support).
+> 2. Fix for multichoice dialogs not checked states correctly if no preselection is used.
+> 3. New color chooser dialog in the sample project, feel free to use it in your apps!
+> 4. Support for detection if a RecyclerView custom view is scrollable. Note that the stock RecyclerView LayoutManagers do not support using wrap_content as height correctly, so RecyclerViews in dialogs will take up the max dialog height.
+> 5. Other small fixes.
+>
+> Thanks to those who help me out with pull requests, also!
+
 ###### 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).
@@ -8,6 +18,8 @@
 >       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.
 
+
+
 ###### Version 0.5.1 - 0.5.2
 
 > Lots of fixes from [hzsweers](https://github.com/hzsweers)'s pull request! https://github.com/afollestad/material-dialogs/pull/149

+ 11 - 1
README.md

@@ -8,6 +8,16 @@ The code you see below is also found in the sample project. You can download a A
 
 For the full history, see the [Changelog](https://github.com/afollestad/material-dialogs/blob/master/CHANGELOG.md).
 
+###### Version 0.5.4
+
+> 1. Fixes for positioning of negative button (bug that came up with the previous update that improved RTL support).
+> 2. Fix for multichoice dialogs not checked states correctly if no preselection is used.
+> 3. New color chooser dialog in the sample project, feel free to use it in your apps!
+> 4. Support for detection if a RecyclerView custom view is scrollable. Note that the stock RecyclerView LayoutManagers do not support using wrap_content as height correctly, so RecyclerViews in dialogs will take up the max dialog height.
+> 5. Other small fixes.
+>
+> Thanks to those who help me out with pull requests, also!
+
 ###### 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).
@@ -40,7 +50,7 @@ Easily reference the library in your Android projects using this dependency in y
 
 ```Groovy
 dependencies {
-    compile 'com.afollestad:material-dialogs:0.5.3'
+    compile 'com.afollestad:material-dialogs:0.5.4'
 }
 ```
 

+ 2 - 2
library/build.gradle

@@ -9,7 +9,7 @@ android {
         minSdkVersion 8
         targetSdkVersion 21
         versionCode 1
-        versionName "0.5.3"
+        versionName "0.5.4"
     }
     lintOptions {
         abortOnError false
@@ -27,7 +27,7 @@ publish {
     userOrg = 'drummer-aidan'
     groupId = 'com.afollestad'
     artifactId = 'material-dialogs'
-    version = '0.5.3'
+    version = '0.5.4'
     description = 'A library for implementing Material design styled dialogs across all versions of Android.'
     website = 'https://github.com/afollestad/material-dialogs'
     issueTracker = "${website}/issues"

+ 2 - 2
library/src/main/java/com/afollestad/materialdialogs/MaterialDialog.java

@@ -1256,11 +1256,11 @@ public class MaterialDialog extends DialogBase implements View.OnClickListener {
     }
 
     /**
-     * @deprecated Use getActionButton(com.afollestad.materialdialogs.DialogAction)} instead.
-     * <p/>
      * This will not return buttons that are actually in the layout itself, since the layout doesn't
      * contain buttons. This is only implemented to avoid crashing issues on Huawei devices. Huawei's
      * stock OS requires this method in order to detect visible buttons.
+     *
+     * @deprecated Use getActionButton(com.afollestad.materialdialogs.DialogAction)} instead.
      */
     @Deprecated
     @Override

+ 2 - 2
sample/build.gradle

@@ -8,8 +8,8 @@ android {
         applicationId "com.afollestad.materialdialogssample"
         minSdkVersion 14
         targetSdkVersion 21
-        versionCode 59
-        versionName "0.5.3"
+        versionCode 60
+        versionName "0.5.4"
     }
     lintOptions {
         abortOnError false

BIN
sample/sample.apk