バッテリーとネットワークのある一番上のバーは白い棒で表示されます。 これを修正する際にお手伝いください。 おかげバッテリーとネットワークのある一番上のバーは表示されません
は、それは私のxmlそれはここで、この
ようにする必要があり、この
ようにするために働いている
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<android.support.design.widget.AppBarLayout
android:id="@+id/app_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:theme="@style/AppTheme.AppBarOverlay">
<android.support.v7.widget.Toolbar
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/colorPrimary"
android:theme="?attr/actionBarTheme"
android:minHeight="?attr/actionBarSize"
android:id="@+id/toolbar2"
android:layout_weight="1" />
</android.support.design.widget.AppBarLayout>
<!-- Editext for Search -->
<EditText android:id="@+id/inputSearch"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:hint="Search products.."
android:inputType="textVisiblePassword"/>
<!-- List View -->
<ListView
android:id="@+id/list_view"
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
</LinearLayout>
上記を確認してくださいapproidlayoutにandroid:theme = "@ style/AppTheme.AppBarOverlay"を追加してこれを削除し、 –
あなたの 'v21/styles.xml'ファイルを投稿してください。 –
最上位のバーが 'StatusBar'と呼ばれています –