2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-03 23:15:31 +00:00

For #9728: Change SearchView hint color inside app.

This commit is contained in:
mcarare 2020-04-28 14:51:57 +03:00 committed by Emily Kager
parent 52d09930a6
commit 80f74ac611
2 changed files with 10 additions and 1 deletions

View File

@ -278,4 +278,7 @@
<!-- Static Shortcut Background Color -->
<color name="static_shortcut_background">#F5F5F5</color>
<!-- SearchView Hint Color -->
<color name="search_view_hint_color">#5B5B66</color>
</resources>

View File

@ -7,6 +7,7 @@
<style name="NormalThemeBase" parent="Theme.MaterialComponents.DayNight.NoActionBar.Bridge">
<!-- Android system styling -->
<item name="searchViewStyle">@style/SearchViewStyle</item>
<item name="autoCompleteTextViewStyle">@style/AutoCompleteTextViewStyle</item>
<item name="android:windowContentTransitions">true</item>
<item name="android:windowAnimationStyle">@style/WindowAnimationTransition</item>
<item name="android:progressBarStyleHorizontal">@style/progressBarStyleHorizontal</item>
@ -20,7 +21,7 @@
<item name="alertDialogTheme">@style/DialogStyleNormal</item>
<item name="android:windowEnableSplitTouch">false</item>
<item name="android:splitMotionEvents">false</item>
<item name="mozacInputLayoutErrorTextColor"
tools:ignore="UnusedResources">@color/destructive_normal_theme</item>
<item name="mozacInputLayoutErrorIconColor"
@ -117,6 +118,7 @@
<style name="PrivateThemeBase" parent="Theme.MaterialComponents.NoActionBar.Bridge">
<!-- Android system styling -->
<item name="searchViewStyle">@style/SearchViewStyle</item>
<item name="autoCompleteTextViewStyle">@style/AutoCompleteTextViewStyle</item>
<item name="android:windowContentTransitions">true</item>
<item name="android:windowAnimationStyle">@style/WindowAnimationTransition</item>
<item name="android:progressBarStyleHorizontal">@style/progressBarStyleHorizontal</item>
@ -494,4 +496,8 @@
<style name="SearchViewStyle" parent="Widget.AppCompat.SearchView">
<item name="searchHintIcon">@null</item>
</style>
<style name="AutoCompleteTextViewStyle" parent="Widget.AppCompat.AutoCompleteTextView">
<item name="android:textColorHint">@color/search_view_hint_color</item>
</style>
</resources>