From a4316ce6031665de344bde733c1849b72e722760 Mon Sep 17 00:00:00 2001 From: Suphon Thanakornpakapong Date: Sat, 30 Apr 2022 10:40:45 +0700 Subject: [PATCH 1/2] Always use medium emphasis on search bar placeholder --- app/src/main/res/layout/layout_search_suggestion.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/res/layout/layout_search_suggestion.xml b/app/src/main/res/layout/layout_search_suggestion.xml index 16ae0f6918..aa4a29bf9e 100644 --- a/app/src/main/res/layout/layout_search_suggestion.xml +++ b/app/src/main/res/layout/layout_search_suggestion.xml @@ -31,7 +31,7 @@ android:inputType="text" android:maxLines="1" android:textColor="@color/on_surface_high_emphasis" - android:textColorHint="@color/search_hint_color" /> + android:textColorHint="@color/on_surface_medium_emphasis" /> Date: Sat, 30 Apr 2022 10:46:32 +0700 Subject: [PATCH 2/2] Change search bar indicator to black --- app/src/main/res/layout/layout_search_suggestion.xml | 3 ++- app/src/main/res/values/attrs.xml | 1 + app/src/main/res/values/styles.xml | 6 ++++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/app/src/main/res/layout/layout_search_suggestion.xml b/app/src/main/res/layout/layout_search_suggestion.xml index aa4a29bf9e..4a8f404176 100644 --- a/app/src/main/res/layout/layout_search_suggestion.xml +++ b/app/src/main/res/layout/layout_search_suggestion.xml @@ -31,7 +31,8 @@ android:inputType="text" android:maxLines="1" android:textColor="@color/on_surface_high_emphasis" - android:textColorHint="@color/on_surface_medium_emphasis" /> + android:textColorHint="@color/on_surface_medium_emphasis" + android:theme="?searchBarTheme" /> + diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index a73f59b701..677c1b3297 100755 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -17,6 +17,7 @@ true false false + @style/SearchBar + + -- GitLab