From c6200e2fb5b41848ffc76ddb5d0d5b9e9825bd42 Mon Sep 17 00:00:00 2001 From: Amit Kumar Date: Thu, 25 Mar 2021 01:09:34 +0530 Subject: [PATCH] Fix theming issue related to accent color Change-Id: I5c65865a76e513825c8c138fca67cc99650dc9cb --- res/drawable/quantum_ic_add_vd_theme_24.xml | 2 +- res/drawable/quantum_ic_close_vd_theme_24.xml | 2 +- res/drawable/quantum_ic_menu_vd_theme_24.xml | 2 +- .../quantum_ic_search_vd_theme_24.xml | 2 +- res/layout/contact_list_filter_item.xml | 2 +- res/layout/search_bar_expanded.xml | 3 +- res/menu/people_options.xml | 4 +- res/menu/search_menu.xml | 4 +- res/values-v27/styles.xml | 8 +-- res/values/colors.xml | 4 +- res/values/styles.xml | 55 +++++++------------ 11 files changed, 37 insertions(+), 51 deletions(-) diff --git a/res/drawable/quantum_ic_add_vd_theme_24.xml b/res/drawable/quantum_ic_add_vd_theme_24.xml index 3ceffde2d9..627fc48c4e 100644 --- a/res/drawable/quantum_ic_add_vd_theme_24.xml +++ b/res/drawable/quantum_ic_add_vd_theme_24.xml @@ -21,6 +21,6 @@ android:viewportHeight="24.0" android:tint="?attr/colorControlNormal"> diff --git a/res/drawable/quantum_ic_close_vd_theme_24.xml b/res/drawable/quantum_ic_close_vd_theme_24.xml index 955f791248..3809f5c35c 100644 --- a/res/drawable/quantum_ic_close_vd_theme_24.xml +++ b/res/drawable/quantum_ic_close_vd_theme_24.xml @@ -21,6 +21,6 @@ android:viewportHeight="24.0" android:tint="?attr/colorControlNormal"> diff --git a/res/drawable/quantum_ic_menu_vd_theme_24.xml b/res/drawable/quantum_ic_menu_vd_theme_24.xml index fdb88f3b93..5b5d7b76eb 100644 --- a/res/drawable/quantum_ic_menu_vd_theme_24.xml +++ b/res/drawable/quantum_ic_menu_vd_theme_24.xml @@ -21,6 +21,6 @@ android:viewportHeight="24.0" android:tint="?attr/colorControlNormal"> diff --git a/res/drawable/quantum_ic_search_vd_theme_24.xml b/res/drawable/quantum_ic_search_vd_theme_24.xml index 6e9da640e2..03dcbaa98b 100644 --- a/res/drawable/quantum_ic_search_vd_theme_24.xml +++ b/res/drawable/quantum_ic_search_vd_theme_24.xml @@ -21,6 +21,6 @@ android:viewportHeight="24.0" android:tint="?attr/colorControlNormal"> diff --git a/res/layout/contact_list_filter_item.xml b/res/layout/contact_list_filter_item.xml index 637b2246ab..81981e4ca5 100644 --- a/res/layout/contact_list_filter_item.xml +++ b/res/layout/contact_list_filter_item.xml @@ -61,7 +61,7 @@ @@ -43,7 +43,6 @@ android:fontFamily="@string/search_font_family" android:textColor="@color/searchbox_text_color" android:textColorHint="@color/searchbox_hint_text_color" - android:textCursorDrawable="@drawable/searchedittext_custom_cursor" android:background="@null" android:inputType="textFilter" android:singleLine="true" diff --git a/res/menu/people_options.xml b/res/menu/people_options.xml index 86be2d61c2..5da3cb05f8 100644 --- a/res/menu/people_options.xml +++ b/res/menu/people_options.xml @@ -17,11 +17,11 @@ xmlns:contacts="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/tools"> diff --git a/res/values-v27/styles.xml b/res/values-v27/styles.xml index 3cd5eaf678..de7db7e4e5 100644 --- a/res/values-v27/styles.xml +++ b/res/values-v27/styles.xml @@ -12,7 +12,7 @@ @color/background_primary @color/primary_color_dark @color/primary_color - @color/primary_color + @color/accent @style/ContactsAlertDialogTheme @dimen/contact_browser_list_item_height 24dip @@ -67,7 +67,7 @@ - - - @style/MyOverflowButtonStyle - @color/color_default_blue1 + @color/accent @@ -299,7 +287,7 @@ - @@ -334,7 +321,7 @@ @color/primary_text_color @color/secondary_text_color @style/ListViewStyle - @color/color_default_blue1 + @color/accent @@ -443,7 +430,7 @@ @@ -500,7 +487,7 @@ background and text color. See also android:style/Widget.Holo.TextView.ListSepar make margin between the button and screen edge 16dp --> -- GitLab