change Search Folder text to Search
This commit is contained in:
parent
1a8db4def5
commit
9d3f7f87ab
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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"/>
|
||||||
|
|
Loading…
Reference in a new issue