、あなたは正しくツールバーを閉じたことがありますか?
<?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:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<android.support.v7.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="?attr/colorPrimary"
android:fitsSystemWindows="true"
app:popupTheme="@style/AppTheme.PopupOverlay">
</android.support.v7.widget.Toolbar>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:showIn="@layout/app_bar_main">
<FrameLayout
android:id="@+id/container"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
</RelativeLayout>
</LinearLayout>
あなたのツールバーを閉じなかった場合は、ビューが重なっています。
おそらく、それはナビゲーションバーの下にはありません。多分それは切り取られているでしょうか? 'centerInside'スケーリングモードを使うとどうなりますか? –
その作品ですが、背景に白いバーが表示されています:D全画面が必要です – Miche
あなたのコンテンツの後ろにソリッドカラーの背景を設定する方法はありますが、アンドロイドの開発は一度もしていません私はあなたを助けることができないのではないかと心配しています。 –