Make sidebar background match primary color

This commit is contained in:
Stefan Niedermann 2020-06-02 18:14:40 +02:00
parent ba95962e27
commit fef7e2ead1
2 changed files with 3 additions and 1 deletions

View file

@ -34,7 +34,6 @@
android:id="@+id/header_view" android:id="@+id/header_view"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="?attr/colorPrimary"
android:theme="@style/ThemeOverlay.AppCompat.Dark"> android:theme="@style/ThemeOverlay.AppCompat.Dark">
<androidx.appcompat.widget.AppCompatImageView <androidx.appcompat.widget.AppCompatImageView
@ -116,6 +115,7 @@
android:id="@+id/accountNavigation" android:id="@+id/accountNavigation"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="?attr/colorPrimary"
android:orientation="vertical"> android:orientation="vertical">
<androidx.recyclerview.widget.RecyclerView <androidx.recyclerview.widget.RecyclerView

View file

@ -9,6 +9,8 @@
<item name="android:windowLightStatusBar" tools:targetApi="m">@bool/isDayMode</item> <item name="android:windowLightStatusBar" tools:targetApi="m">@bool/isDayMode</item>
<item name="android:actionModeBackground">?attr/colorPrimary</item> <item name="android:actionModeBackground">?attr/colorPrimary</item>
<item name="colorControlNormal">?attr/colorAccent</item> <item name="colorControlNormal">?attr/colorAccent</item>
<item name="android:navigationBarColor" tools:targetApi="lollipop">?attr/colorPrimary</item>
<item name="android:windowLightNavigationBar" tools:targetApi="o_mr1">@bool/isDayMode</item>
</style> </style>
<style name="fab"> <style name="fab">