This application is example of how to use BottomNavigationView.
- Android SDK 28
- Android Build Tool 28.0.3
- Android Support Repository 28.0.0
- Android Plugin for Gradle 3.2.1
- Kotlin gradle plugin 1.2.51
Build with Android Studio 3.2.1
<android.support.design.widget.BottomNavigationView
・・・
app:labelVisibilityMode="labeled"
・・・
/>
Support library 27 or lower (target-sdk-27)
Use the extension of BottomNavigationView.
bottomNavigationView.disableShiftMode()
You need to configure proguard-rules.pro file if you want use ProGuard. Such as below:
-keepclassmembers class android.support.design.internal.BottomNavigationMenuView {
boolean mShiftingMode;
}