1
下のナビゲーションビューのアイコンを小さくしようとしています。たとえば、今のところ、彼らはこのようにトップラインに押し付けられています。下部ナビゲーションビューのアイコンのパディングを削除します。
どのように私はアイコンが下になるだろうか?私はそれらを下のナビゲーションビューに垂直にセンタリングしたい。
XML:選択された場合
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context="com.example.jchousurface.mastertrack.homescreen">
<FrameLayout
android:id="@+id/content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1">
</FrameLayout>
<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="#FFFFFF"
app:menu="@menu/navigation" />
</LinearLayout>
あなたはXMLコードをしてください投稿することができますか? – Glory
確かに、何も特別なものではなく、基本的なナビゲーションビュー –
@Gloryがちょうど編集されました –