Styled the SearchView #43
This commit is contained in:
1 parent
7a5f5bfe1f
commit
31bdc60e13
5 files changed
+41
-21
No files matched your search
@@ -3,7 +3,7 @@
|
||||
<color name="color_background">#262626</color>
|
||||
<color name="colorPrimary">#6A6A6A</color>
|
||||
<color name="colorPrimaryDark">#00574B</color>
|
||||
<color name="colorAccent">#8c8cd9</color>
|
||||
<color name="colorAccent">#AE18B1</color>
|
||||
<color name="color_player_not_initialized">#585858</color>
|
||||
|
||||
<!-- Play Controls -->
|
||||
@@ -12,4 +12,9 @@
|
||||
|
||||
<!-- Popup colors -->
|
||||
<color name="popup_text">#FFFFFF</color>
|
||||
|
||||
<!-- Song Searchview -->
|
||||
<color name="song_searchView">@color/color_background</color>
|
||||
<color name="song_searchView_hint_text">#FFFFFF</color>
|
||||
<color name="song_searchView_text">#FFFFFF</color>
|
||||
</resources>
|
||||
@@ -33,6 +33,9 @@
|
||||
<string name="settings">Settings</string>
|
||||
<string name="song_view">Songs</string>
|
||||
|
||||
<!-- Song Search -->
|
||||
<string name="song_search_hint">Search for songs or artists</string>
|
||||
|
||||
<!-- Example General settings -->
|
||||
<string name="pref_header_general">General</string>
|
||||
|
||||
|
||||
@@ -27,6 +27,16 @@
|
||||
<item name="android:textSize">20sp</item>
|
||||
</style>
|
||||
|
||||
<!--<style name="SongSearchViewStyle" parent="Widget.AppCompat.SearchView"> -->
|
||||
<style name="SongSearchViewStyle">
|
||||
<!-- Gets rid of the "underline" in the text -->
|
||||
<item name="queryBackground">@color/song_searchView</item>
|
||||
<!-- The hint text that appears when the user has not typed anything -->
|
||||
<item name="queryHint">@string/song_search_hint</item>
|
||||
<item name="android:editTextColor">@color/song_searchView_text</item>
|
||||
<item name="android:textColorHint">@color/song_searchView_hint_text</item>
|
||||
</style>
|
||||
|
||||
<style name="AppTheme.NoActionBar">
|
||||
<item name="windowActionBar">false</item>
|
||||
<item name="windowNoTitle">true</item>
|
||||
|
||||
Reference in new issue
Block a user