0
私はこのライブラリBottomBarを使って、私のアプリの上部にツールバーの種類を表示しています。この図に示すように、アクションバーと下部バーの間に表示される奇妙なパディングがあります(フローティングアクションボタンを無視してください): 不要なパッドがアクションバーの下にある
ここは私のレイアウトxmlファイルです:
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.roughike.bottombar.BottomBar
android:id="@+id/bottomBar"
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_alignParentTop="true"
android:layout_alignParentStart="true"
app:bb_behavior="shifting"
app:bb_activeTabColor="#000000"
app:bb_inActiveTabColor="#FFFFFF"
app:bb_tabXmlResource="@xml/bottom_bar" />
<android.support.v7.widget.RecyclerView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/movie_recycler_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="60dp"/>
<android.support.design.widget.FloatingActionButton
android:layout_margin="18dp"
android:id="@+id/fab"
android:src="@drawable/create"
android:layout_alignParentRight="true"
android:layout_width="wrap_content"
android:layout_marginBottom="60dp"
android:layout_height="wrap_content"
app:backgroundTint="#A52A2A"
app:borderWidth="0dp"
app:elevation="8dp"
app:layout_anchor="@id/movie_recycler_view"
app:layout_anchorGravity="bottom|right|end" />
私は無駄になど、アクションバーの影を無効にする、ボトムパーパディング0dpを0dpするアクションバーのパディングを設定しようとしました。どのようにこれを修正するための任意のアイデア?