2017-08-14 1 views
0

this is my bottom bar and i want to make it fixed without this animationBottomBarをAndroidで修正する方法は?選択されたとき

私のナビゲーションコード

<android.support.design.widget.BottomNavigationView 
    xmlns:android="http://schemas.android.com/apk/res/android" 
    xmlns:app="http://schemas.android.com/apk/res-auto" 
    android:id="@+id/navigation" 
    android:layout_width="match_parent" 
    android:layout_height="wrap_content" 
    android:background="?android:attr/windowBackground" 
    app:menu="@menu/navigation" 
    app:tabMode="fixed" 


    android:backgroundTint="#F0F0F0" 
    app:itemBackground="@color/white" 
    app:itemIconTint="@color/colorPrimary" 
    app:itemTextColor="@color/colorPrimary" 

    /> 
+0

あなたは 'TabLayout'を使用して試してみて、一番下にそれを置くことができます。それは同じように動作します。 –

答えて

0

メニューアイコンは、ビットをシフト。これを解決する最も簡単な方法は、BottomNavigationViewExライブラリを使用することです。

enter image description here

関連する問題