mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2025-10-29 03:36:21 +00:00
Upgrade SearchPreference and use our own 'more' string (#7656)
This commit is contained in:
parent
f4f7dc716c
commit
dbadb58d8c
@ -535,7 +535,7 @@ public class MainActivity extends CastEnabledActivity {
|
||||
0, getString(NavigationNames.getShortLabel(tag)));
|
||||
item.setIcon(NavigationNames.getDrawable(tag));
|
||||
}
|
||||
MenuItem moreItem = menu.add(0, R.id.bottom_navigation_more, 0, getString(R.string.searchpreference_more));
|
||||
MenuItem moreItem = menu.add(0, R.id.bottom_navigation_more, 0, getString(R.string.overflow_more));
|
||||
moreItem.setIcon(R.drawable.dots_vertical);
|
||||
bottomNavigationView.setOnItemSelectedListener(bottomItemSelectedListener);
|
||||
updateBottomNavigationBadgeIfNeeded();
|
||||
|
||||
@ -3,6 +3,7 @@ pluginManagement {
|
||||
google()
|
||||
mavenCentral()
|
||||
gradlePluginPortal()
|
||||
mavenLocal()
|
||||
}
|
||||
}
|
||||
|
||||
@ -12,6 +13,7 @@ dependencyResolutionManagement {
|
||||
google()
|
||||
mavenCentral()
|
||||
maven { url "https://jitpack.io" }
|
||||
mavenLocal()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -411,6 +411,8 @@
|
||||
<string name="preference_search_hint">Search…</string>
|
||||
<string name="preference_search_no_results">No results</string>
|
||||
<string name="preference_search_clear_history">Clear history</string>
|
||||
<string name="preference_search_clear_input">Clear</string>
|
||||
<string name="overflow_more">More</string>
|
||||
<string name="pref_episode_cleanup_title">Delete before auto download</string>
|
||||
<string name="pref_episode_cleanup_summary">Episodes that should be eligible for removal if Auto Download needs space for new episodes</string>
|
||||
<string name="pref_pauseOnDisconnect_sum">Pause playback when headphones or bluetooth are disconnected</string>
|
||||
|
||||
@ -46,5 +46,5 @@ dependencies {
|
||||
implementation "com.squareup.okhttp3:okhttp:$okhttpVersion"
|
||||
implementation "com.squareup.okhttp3:okhttp-urlconnection:$okhttpVersion"
|
||||
implementation "org.greenrobot:eventbus:$eventbusVersion"
|
||||
implementation 'com.github.ByteHamster:SearchPreference:v2.5.0'
|
||||
implementation 'com.github.ByteHamster:SearchPreference:2.7.1'
|
||||
}
|
||||
|
||||
@ -7,7 +7,9 @@
|
||||
android:key="searchPreference"
|
||||
search:textHint="@string/preference_search_hint"
|
||||
search:textNoResults="@string/preference_search_no_results"
|
||||
search:textClearHistory="@string/preference_search_clear_history" />
|
||||
search:textClearHistory="@string/preference_search_clear_history"
|
||||
search:textClearInput="@string/preference_search_clear_input"
|
||||
search:textMore="@string/overflow_more" />
|
||||
|
||||
<Preference
|
||||
android:key="prefScreenInterface"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user