From 75320ad288745ea8493291a8e924df3abcb27999 Mon Sep 17 00:00:00 2001 From: Juan Date: Wed, 7 Dec 2016 17:11:22 -0300 Subject: [PATCH 1/2] Fixed animation on ...design:25.0.1 In com.android.support:design:25.0.1, if _return_ is set to _false_ the animation is bugged. See here: https://code.google.com/p/android/issues/detail?id=227801&sort=-opened&colspec=ID%20Status%20Priority%20Owner%20Summary%20Stars%20Reporter%20Opened --- .../hitherejoe/com/bottomnavigationsample/MainActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/bottomnav/hitherejoe/com/bottomnavigationsample/MainActivity.java b/app/src/main/java/bottomnav/hitherejoe/com/bottomnavigationsample/MainActivity.java index 998cb46..d4d9508 100644 --- a/app/src/main/java/bottomnav/hitherejoe/com/bottomnavigationsample/MainActivity.java +++ b/app/src/main/java/bottomnav/hitherejoe/com/bottomnavigationsample/MainActivity.java @@ -47,7 +47,7 @@ public boolean onNavigationItemSelected(@NonNull MenuItem item) { textMusic.setVisibility(View.VISIBLE); break; } - return false; + return true; } }); } From 2b273d12e89725090a420668fd9d5ee3f8c95aac Mon Sep 17 00:00:00 2001 From: Juan Date: Wed, 7 Dec 2016 17:12:56 -0300 Subject: [PATCH 2/2] Update build.gradle --- app/build.gradle | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 935c4f3..7dd0767 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -2,7 +2,7 @@ apply plugin: 'com.android.application' android { compileSdkVersion 25 - buildToolsVersion "24.0.0" + buildToolsVersion "25.0.1" defaultConfig { applicationId "bottomnav.hitherejoe.com.bottomnavigationsample" minSdkVersion 21 @@ -21,14 +21,14 @@ android { dependencies { - final SUPPORT_LIBRARY_VERSION = '25.0.0' + final SUPPORT_LIBRARY_VERSION = '25.0.1' compile fileTree(dir: 'libs', include: ['*.jar']) androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', module: 'support-annotations' }) - compile 'com.android.support:appcompat-v7:25.0.0' - compile 'com.android.support:support-v4:25.0.0' + compile 'com.android.support:appcompat-v7:25.0.1' + compile 'com.android.support:support-v4:25.0.1' compile "com.android.support:design:$SUPPORT_LIBRARY_VERSION" testCompile 'junit:junit:4.12' }