Added new placeholder text for search on library

Fixed splash screen color
This commit is contained in:
Jay 2020-01-10 19:40:01 -08:00
parent 601bb177ff
commit 5368e37988
3 changed files with 3 additions and 1 deletions

View File

@ -375,6 +375,7 @@ class LibraryController(
val searchItem = menu.findItem(R.id.action_search) val searchItem = menu.findItem(R.id.action_search)
val searchView = searchItem.actionView as SearchView val searchView = searchItem.actionView as SearchView
searchView.queryHint = resources?.getString(R.string.search_hint)
if (!query.isEmpty()) { if (!query.isEmpty()) {
searchItem.expandActionView() searchItem.expandActionView()

View File

@ -6,7 +6,7 @@
<color name="drawerHighlight">@color/md_black_1000_12</color> <color name="drawerHighlight">@color/md_black_1000_12</color>
<color name="drawerPrimary">@color/colorPrimary</color> <color name="drawerPrimary">@color/colorPrimary</color>
<color name="cardBackground">#FFFFFF</color> <color name="cardBackground">#FFFFFF</color>
<color name="splashBackground">#455A64</color> <color name="splashBackground">@color/colorPrimary</color>
<color name="snackbarBackground">#323232</color> <color name="snackbarBackground">#323232</color>
<color name="trueSnackbarBackground">#323232</color> <color name="trueSnackbarBackground">#323232</color>
<color name="dialogBackground">@color/md_white_1000</color> <color name="dialogBackground">@color/md_white_1000</color>

View File

@ -189,6 +189,7 @@
<string name="lock_always">Always</string> <string name="lock_always">Always</string>
<string name="lock_never">Never</string> <string name="lock_never">Never</string>
<string name="lock_after_mins">After %1$s minutes</string> <string name="lock_after_mins">After %1$s minutes</string>
<string name="search_hint">Search (title, tags, source)</string>
<!-- Extension section --> <!-- Extension section -->
<string name="all_lang">All</string> <string name="all_lang">All</string>