A possible fix of the search bar colors

This commit is contained in:
antonio 2022-03-23 22:36:02 +01:00
parent d432205789
commit fd5a5037f3
4 changed files with 16 additions and 5 deletions

1
.idea/misc.xml generated
View file

@ -114,6 +114,7 @@
<entry key="app/src/main/res/layout/fragment_player_queue.xml" value="0.3229166666666667" /> <entry key="app/src/main/res/layout/fragment_player_queue.xml" value="0.3229166666666667" />
<entry key="app/src/main/res/layout/fragment_playlist_catalogue.xml" value="0.3229166666666667" /> <entry key="app/src/main/res/layout/fragment_playlist_catalogue.xml" value="0.3229166666666667" />
<entry key="app/src/main/res/layout/fragment_playlist_page.xml" value="0.3229166666666667" /> <entry key="app/src/main/res/layout/fragment_playlist_page.xml" value="0.3229166666666667" />
<entry key="app/src/main/res/layout/fragment_search.xml" value="0.3494791666666667" />
<entry key="app/src/main/res/layout/fragment_settings.xml" value="0.3229166666666667" /> <entry key="app/src/main/res/layout/fragment_settings.xml" value="0.3229166666666667" />
<entry key="app/src/main/res/layout/fragment_song_list_page.xml" value="0.225" /> <entry key="app/src/main/res/layout/fragment_song_list_page.xml" value="0.225" />
<entry key="app/src/main/res/layout/fragment_starred.xml" value="0.3166496424923391" /> <entry key="app/src/main/res/layout/fragment_starred.xml" value="0.3166496424923391" />

View file

@ -22,11 +22,15 @@
app:leftButtonDrawable="@drawable/ic_search" app:leftButtonDrawable="@drawable/ic_search"
app:queryInputHint="@string/search_hint" app:queryInputHint="@string/search_hint"
app:shouldDimBehind="true" app:shouldDimBehind="true"
app:suggestionIconColor="?attr/colorOnSurface"
app:suggestionRecentSearchIconColor="?attr/colorOnSurface" app:queryInputBarIconColor="@color/searchPlaceholderColor"
app:suggestionSearchSuggestionIconColor="?attr/colorOnSurface" app:queryInputHintColor="@color/searchPlaceholderColor"
app:suggestionSelectedTextColor="?attr/colorOnSurface" app:queryInputTextColor="@color/searchPlaceholderColor"
app:suggestionTextColor="?attr/colorOnSurface" /> app:suggestionIconColor="@color/searchColor"
app:suggestionRecentSearchIconColor="@color/searchColor"
app:suggestionSearchSuggestionIconColor="@color/searchColor"
app:suggestionSelectedTextColor="?attr/colorPrimary"
app:suggestionTextColor="@color/searchColor"/>
<androidx.core.widget.NestedScrollView <androidx.core.widget.NestedScrollView
android:id="@+id/search_result_nested_scroll_view" android:id="@+id/search_result_nested_scroll_view"

View file

@ -4,5 +4,8 @@
<color name="subtitleTextColor">#9B9B9B</color> <color name="subtitleTextColor">#9B9B9B</color>
<color name="songToPlayTextColor">#949494</color> <color name="songToPlayTextColor">#949494</color>
<color name="dividerColor">#404040</color> <color name="dividerColor">#404040</color>
<color name="searchPlaceholderColor">#CFCFCF</color>
<color name="searchColor">#DADADA</color>
</resources> </resources>

View file

@ -65,5 +65,8 @@
<color name="dividerColor">#e0e0e0</color> <color name="dividerColor">#e0e0e0</color>
<color name="white">#FFFFFF</color> <color name="white">#FFFFFF</color>
<color name="searchPlaceholderColor">#303030</color>
<color name="searchColor">#252525</color>
<!-- <color name="iconLauncher">https://icon.kitchen/i/H4sIAAAAAAAAAzWQu27DMAxF%2F4VdPbhBsmTt0LVAuxVFIUuUIoAWDT36gJF%2Fz5WCcJCow8uXdvox0rjQeScfXiRuJtf%2BKIyLHHvTpNJE0WoCEE7le5GW6TrREj7%2BNwYN2bjIqevA%2BK%2B2DLxTfbi0ajHR3pNeH2oorIrmZwiejmaevUeFgQ4dzcOATAqCKscT8jFlF%2FS4H4a4D2%2FGuZjCaKobnQ%2BniXIMFzTp7qK16nr3hf2gY5b3ixkb2JgtWoCt6pr0D%2FlEW5c1ur69Fpy%2FvNDX9QZCITMSMwEAAA%3D%3D</color> --> <!-- <color name="iconLauncher">https://icon.kitchen/i/H4sIAAAAAAAAAzWQu27DMAxF%2F4VdPbhBsmTt0LVAuxVFIUuUIoAWDT36gJF%2Fz5WCcJCow8uXdvox0rjQeScfXiRuJtf%2BKIyLHHvTpNJE0WoCEE7le5GW6TrREj7%2BNwYN2bjIqevA%2BK%2B2DLxTfbi0ajHR3pNeH2oorIrmZwiejmaevUeFgQ4dzcOATAqCKscT8jFlF%2FS4H4a4D2%2FGuZjCaKobnQ%2BniXIMFzTp7qK16nr3hf2gY5b3ixkb2JgtWoCt6pr0D%2FlEW5c1ur69Fpy%2FvNDX9QZCITMSMwEAAA%3D%3D</color> -->
</resources> </resources>