mirror of
https://github.com/CappielloAntonio/tempo.git
synced 2026-02-02 15:33:36 +00:00
Limited number of search items for each category
This commit is contained in:
@@ -50,4 +50,16 @@
|
||||
<item>25</item>
|
||||
<item>50</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="search_element_per_category_titles">
|
||||
<item>10</item>
|
||||
<item>20</item>
|
||||
<item>30</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="search_element_per_category_values">
|
||||
<item>10</item>
|
||||
<item>20</item>
|
||||
<item>30</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
@@ -14,6 +14,7 @@
|
||||
<string name="label_dot_separator">•</string>
|
||||
<string name="save_filters">Save filters between sessions</string>
|
||||
<string name="instant_mix_song_number">Number of songs generated by Instant Mix</string>
|
||||
<string name="search_element_per_category">Number of items searched for each category</string>
|
||||
|
||||
<string name="sync_header">Synchronization</string>
|
||||
<string name="music_sync">Music sync</string>
|
||||
|
||||
@@ -36,6 +36,15 @@
|
||||
app:key="instant_mix_song_number"
|
||||
app:title="@string/instant_mix_song_number"
|
||||
app:useSimpleSummaryProvider="true" />
|
||||
|
||||
<ListPreference
|
||||
app:defaultValue="10"
|
||||
app:dialogTitle="@string/search_element_per_category"
|
||||
app:entries="@array/search_element_per_category_titles"
|
||||
app:entryValues="@array/search_element_per_category_values"
|
||||
app:key="search_element_per_category"
|
||||
app:title="@string/search_element_per_category"
|
||||
app:useSimpleSummaryProvider="true" />
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory app:title="@string/sync_header">
|
||||
|
||||
Reference in New Issue
Block a user