From f752307a3874ee153f86b2bf727133c37183e4cf Mon Sep 17 00:00:00 2001 From: Nite Date: Mon, 11 Oct 2021 19:43:01 +0200 Subject: [PATCH] Changed navigation header colors --- ultrasonic/src/main/res/layout/navigation_header.xml | 2 +- ultrasonic/src/main/res/values/colors.xml | 2 ++ ultrasonic/src/main/res/values/styles.xml | 3 ++- ultrasonic/src/main/res/values/themes.xml | 3 +++ 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ultrasonic/src/main/res/layout/navigation_header.xml b/ultrasonic/src/main/res/layout/navigation_header.xml index 39f1497c..f245f7e6 100644 --- a/ultrasonic/src/main/res/layout/navigation_header.xml +++ b/ultrasonic/src/main/res/layout/navigation_header.xml @@ -13,7 +13,7 @@ a:layout_width="match_parent" a:layout_height="0dp" a:scaleType="fitXY" - a:src="?attr/colorPrimary" + a:src="?attr/color_navigation_header_background" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintTop_toTopOf="parent" /> diff --git a/ultrasonic/src/main/res/values/colors.xml b/ultrasonic/src/main/res/values/colors.xml index 5e823ee5..85caa5af 100644 --- a/ultrasonic/src/main/res/values/colors.xml +++ b/ultrasonic/src/main/res/values/colors.xml @@ -4,6 +4,8 @@ #FFFFFF #00000000 #ff0099cc + #ff6200EE + #ffBB86FC #8033b5e5 #00000000 #80000000 diff --git a/ultrasonic/src/main/res/values/styles.xml b/ultrasonic/src/main/res/values/styles.xml index a442830c..9076219b 100644 --- a/ultrasonic/src/main/res/values/styles.xml +++ b/ultrasonic/src/main/res/values/styles.xml @@ -30,7 +30,7 @@ 2dp - @@ -86,6 +86,7 @@ + diff --git a/ultrasonic/src/main/res/values/themes.xml b/ultrasonic/src/main/res/values/themes.xml index 4cf92830..286b548c 100644 --- a/ultrasonic/src/main/res/values/themes.xml +++ b/ultrasonic/src/main/res/values/themes.xml @@ -7,6 +7,7 @@ @color/selected_color_dark @color/selected_menu_dark @color/selected_menu_background_black + @color/navigation_header_dark @drawable/ic_star_hollow_dark @drawable/ic_star_full_dark @drawable/ic_menu_about_dark @@ -71,6 +72,7 @@ @color/selected_color_dark @color/selected_menu_dark @color/selected_menu_background_dark + @color/navigation_header_dark @drawable/ic_star_hollow_dark @drawable/ic_star_full_dark @drawable/ic_menu_about_dark @@ -134,6 +136,7 @@ @color/selected_color_light @color/selected_menu_light @color/selected_menu_background_light + @color/navigation_header_light @drawable/ic_star_hollow_light @drawable/ic_star_full_light @drawable/ic_menu_about_light