Browse Source

Release 0.4.8.

Aidan Follestad 10 years ago
parent
commit
dfe8a37398

+ 8 - 21
README.md

@@ -6,6 +6,12 @@ The code you see below is also found in the sample project. You can download a A
 
 ### What's New
 
+###### Version 0.4.8
+
+> 1. Improvements for padding in list dialogs.
+> 2. Fixed the `forceStacking` option.
+> 3. Single choice dialogs will wait to send selection callbacks until positive action button is pressed, if the positive action button is set.
+
 ###### Version 0.4.7
 
 > 1. Yet more fixes thanks to a pull request from [hzsweers](https://github.com/hzsweers), see the [pull request here](https://github.com/afollestad/material-dialogs/pull/124).
@@ -41,29 +47,10 @@ The code you see below is also found in the sample project. You can download a A
 
 ###### Version 0.4.0
 
-> 1. Yet more bug fixes and improvements throughout
+> 1. Bug fixes and improvements throughout
 > 2. Action button selectors have rounded corners
 > 3. More global theming capabilities. Override the accent color used for action buttons, titles, and content from your Activity theme. See the [Global Theming](#global-theming) section below.
 
-###### Version 0.3.5 – 0.3.6
-
-> 1. Bug fixes.
-> 2. Button stacking algorithm fixes.
-
-###### Version 0.3.1 – 0.3.4
-
-> 1. Global theming! A single attribute can be added to your Activity theme to make all dialogs dark. See the [Global Theming](#global-theming) section below.
-> 2. Large performance improvements for list dialogs, thanks [hzsweers](https://github.com/hzsweers)! The item processor API was switched with custom list adapters, see the sample for an example.
-> 3. Other padding and logic fixes.
-> 4. Crash fix when updating list items after they had previously been set.
-> 5. The ability to set the content color when constructing a dialog builder.
-
-###### Version 0.3.0
-
-> 1. `MaterialDialogCompat` allows easy migration from use of `AlertDialog` (see below).
-> 2. Convenience `show()` method in Builder, to skip call to `build()`.
-> 3. Various important fixes from pull requests and the maintainer.
-
 ---
 
 ### Gradle Dependency (jCenter)
@@ -72,7 +59,7 @@ Easily reference the library in your Android projects using this dependency in y
 
 ```Groovy
 dependencies {
-    compile 'com.afollestad:material-dialogs:0.4.7'
+    compile 'com.afollestad:material-dialogs:0.4.8'
 }
 ```
 

+ 2 - 2
library/build.gradle

@@ -9,7 +9,7 @@ android {
         minSdkVersion 8
         targetSdkVersion 21
         versionCode 1
-        versionName "0.4.7"
+        versionName "0.4.8"
     }
     lintOptions {
         abortOnError false
@@ -26,7 +26,7 @@ publish {
     userOrg = 'drummer-aidan'
     groupId = 'com.afollestad'
     artifactId = 'material-dialogs'
-    version = '0.4.7iced '
+    version = '0.4.8'
     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
sample/build.gradle

@@ -8,8 +8,8 @@ android {
         applicationId "com.afollestad.materialdialogssample"
         minSdkVersion 11
         targetSdkVersion 21
-        versionCode 52
-        versionName "0.4.7"
+        versionCode 53
+        versionName "0.4.8"
     }
     buildTypes {
 //        release {

BIN
sample/sample.apk


+ 1 - 1
sample/src/main/java/com/afollestad/materialdialogssample/MainActivity.java

@@ -292,7 +292,7 @@ public class MainActivity extends ActionBarActivity implements FolderSelectorDia
                         Toast.makeText(getApplicationContext(), which + ": " + text, Toast.LENGTH_SHORT).show();
                     }
                 })
-//                .positiveText(R.string.choose)
+                .positiveText(R.string.choose)
                 .show();
     }