change Search Folder text to Search

This commit is contained in:
tibbi 2019-03-27 18:04:30 +01:00
parent 1a8db4def5
commit 9d3f7f87ab
2 changed files with 2 additions and 2 deletions

View file

@ -149,7 +149,7 @@ class MainActivity : SimpleActivity() {
(searchMenuItem!!.actionView as SearchView).apply { (searchMenuItem!!.actionView as SearchView).apply {
setSearchableInfo(searchManager.getSearchableInfo(componentName)) setSearchableInfo(searchManager.getSearchableInfo(componentName))
isSubmitButtonEnabled = false isSubmitButtonEnabled = false
queryHint = getString(R.string.search_folder) queryHint = getString(R.string.search)
setOnQueryTextListener(object : SearchView.OnQueryTextListener { setOnQueryTextListener(object : SearchView.OnQueryTextListener {
override fun onQueryTextSubmit(query: String) = false override fun onQueryTextSubmit(query: String) = false

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<searchable <searchable
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:hint="@string/search_folder" android:hint="@string/search"
android:label="@string/app_name"/> android:label="@string/app_name"/>