私はボトムナビゲーションビューを下に置くのに苦労しています。それは底に位置していません。下部ナビゲーションビューは、ボタンを使用した相対レイアウト内に配置されます。これは、上記の私のコードの典型的なショーがあるが、下部のナビゲーションビューが下に揃えるされていないファイルdesign.widget.BottomNavigationをrelativelayoutの一番下に表示
<RelativeLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<android.support.design.widget.BottomNavigationView
android:id="@+id/navigation"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:background="?android:attr/windowBackground"
app:menu="@menu/navigation" />
</RelativeLayout>
でのXMLコードです。上記のスニペットを考えると、私は
........... worked – blend
@blend喜んで、それは将来の訪問者の参照のための答えとしてそれを受け入れるようにしてください。 –
それについて考えていない^^ありがとう! – Mayeul