diff options
author | ByteHamster <info@bytehamster.com> | 2019-08-30 11:37:52 +0200 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2019-08-30 11:38:56 +0200 |
commit | 4e803883807137ff1f6fcb40839d3af04412cbd2 (patch) | |
tree | ff1acc6ee7b7c3d3324fe772c1310ff466a04a26 /app | |
parent | f35286f1dc37b2df86a95dbf8d3fce23aef73529 (diff) | |
download | AntennaPod-4e803883807137ff1f6fcb40839d3af04412cbd2.zip |
Extracted preference search string resources
Diffstat (limited to 'app')
-rw-r--r-- | app/build.gradle | 2 | ||||
-rw-r--r-- | app/src/main/res/xml/preferences.xml | 8 |
2 files changed, 7 insertions, 3 deletions
diff --git a/app/build.gradle b/app/build.gradle index a97bac1b2..e4ed38f52 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -172,7 +172,7 @@ dependencies { implementation "com.github.AntennaPod:AntennaPod-AudioPlayer:$audioPlayerVersion" implementation 'com.github.mfietz:fyydlin:v0.4.2' - implementation 'com.github.ByteHamster:SearchPreference:v1.2.6' + implementation 'com.github.ByteHamster:SearchPreference:v1.3.0' implementation "org.awaitility:awaitility:$awaitilityVersion" androidTestImplementation 'com.nanohttpd:nanohttpd-webserver:2.1.1' diff --git a/app/src/main/res/xml/preferences.xml b/app/src/main/res/xml/preferences.xml index f45847e54..6c1e470c0 100644 --- a/app/src/main/res/xml/preferences.xml +++ b/app/src/main/res/xml/preferences.xml @@ -1,9 +1,13 @@ <?xml version="1.0" encoding="utf-8"?> <PreferenceScreen - xmlns:android="http://schemas.android.com/apk/res/android"> + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:search="http://schemas.android.com/apk/res-auto"> <com.bytehamster.lib.preferencesearch.SearchPreference - android:key="searchPreference" /> + android:key="searchPreference" + search:textHint="@string/preference_search_hint" + search:textNoResults="@string/preference_search_no_results" + search:textClearHistory="@string/preference_search_clear_history" /> <Preference android:key="prefScreenInterface" |