diff --git a/README.md b/README.md index 4a34499..e6a6c7f 100644 --- a/README.md +++ b/README.md @@ -140,7 +140,7 @@ compile "com.android.support:design:26.+" ``` 2. new version support lib = 28 ```groovy -implementation 'com.github.ittianyu:BottomNavigationViewEx:2.0.3' +implementation 'com.github.ittianyu:BottomNavigationViewEx:2.0.4' implementation "com.android.support:design:28.0.0" ``` 3. AndroidX diff --git a/README_ZH.md b/README_ZH.md index 80fe176..f9f0d11 100644 --- a/README_ZH.md +++ b/README_ZH.md @@ -138,7 +138,7 @@ compile "com.android.support:design:26.+" ``` 2. 新版本 support lib = 28 ```groovy -implementation 'com.github.ittianyu:BottomNavigationViewEx:2.0.3' +implementation 'com.github.ittianyu:BottomNavigationViewEx:2.0.4' implementation "com.android.support:design:28.0.0" ``` 3. AndroidX diff --git a/app/build.gradle b/app/build.gradle index b950c7b..3c01bd7 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -33,7 +33,7 @@ dependencies { implementation "com.android.support:design:$rootProject.supportLibraryVersion" implementation project(':widget') -// implementation 'com.github.ittianyu:BottomNavigationViewEx:2.0.2' +// implementation 'com.github.ittianyu:BottomNavigationViewEx:2.0.4' // leakcanary debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.5.4' releaseImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.4' diff --git a/widget/build.gradle b/widget/build.gradle index 6101e69..f434746 100644 --- a/widget/build.gradle +++ b/widget/build.gradle @@ -10,8 +10,8 @@ android { defaultConfig { minSdkVersion 14 targetSdkVersion rootProject.ext.targetSdkVersion - versionCode 23 - versionName "2.0.3" + versionCode 24 + versionName "2.0.4" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" diff --git a/widget/src/main/java/com/ittianyu/bottomnavigationviewex/BottomNavigationViewInner.java b/widget/src/main/java/com/ittianyu/bottomnavigationviewex/BottomNavigationViewInner.java index 33ca965..62befd0 100644 --- a/widget/src/main/java/com/ittianyu/bottomnavigationviewex/BottomNavigationViewInner.java +++ b/widget/src/main/java/com/ittianyu/bottomnavigationviewex/BottomNavigationViewInner.java @@ -70,7 +70,6 @@ public BottomNavigationViewInner(Context context, AttributeSet attrs, int defSty android.support.design.R.styleable.BottomNavigationView_itemTextAppearanceActive}); // clear if you don't have set item icon tint list if (!a.hasValue(android.support.design.R.styleable.BottomNavigationView_itemIconTint)) { - System.out.println("------clearIconTintColor-------"); clearIconTintColor(); } a.recycle();