Попытка изменить цвет ящика навигации на colorPrimary, но цвет макета ящика не меняется, даже если для него установлено значение colorPrimary. Оно отображается в Android Studio, но при фактическом запуске установлено на белый.!
<android.support.v4.widget.DrawerLayout
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/drawer_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true"
android:padding="0dp"
android:paddingBottom="0dp"
tools:openDrawer="start">
<include
layout="@layout/app_bar_main"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:itemBackground="@color/colorPrimary" />
<android.support.design.widget.NavigationView
android:id="@+id/nav_view"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_gravity="start"
android:fitsSystemWindows="true"
app:headerLayout="@layout/nav_header_main"
app:itemBackground="@color/colorPrimary"
app:itemIconTint="@android:color/background_light"
app:itemTextColor="@android:color/background_light"
app:menu="@menu/activity_main_drawer">
</android.support.design.widget.NavigationView>
</android.support.v4.widget.DrawerLayout>
отметьте это
![enter image description here](https://i.stack.imgur.com/TenOi.jpg)