mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 01:53:31 +00:00
Add preference to set instant mix song number
This commit is contained in:
parent
862ea71b11
commit
78333d56d4
8 changed files with 35 additions and 33 deletions
|
|
@ -38,4 +38,16 @@
|
|||
<item>yes</item>
|
||||
<item>no</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="instant_mix_song_number_titles">
|
||||
<item>10</item>
|
||||
<item>25</item>
|
||||
<item>50</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="instant_mix_song_number_values">
|
||||
<item>10</item>
|
||||
<item>25</item>
|
||||
<item>50</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
|
@ -13,6 +13,7 @@
|
|||
<string name="label_placeholder">--</string>
|
||||
<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="sync_header">Synchronization</string>
|
||||
<string name="music_sync">Music sync</string>
|
||||
|
|
|
|||
|
|
@ -27,6 +27,15 @@
|
|||
app:key="filtersPref"
|
||||
app:title="@string/save_filters"
|
||||
app:useSimpleSummaryProvider="true" />
|
||||
|
||||
<ListPreference
|
||||
app:defaultValue="10"
|
||||
app:dialogTitle="@string/instant_mix_song_number"
|
||||
app:entries="@array/instant_mix_song_number_titles"
|
||||
app:entryValues="@array/instant_mix_song_number_values"
|
||||
app:key="instant_mix_song_number"
|
||||
app:title="@string/instant_mix_song_number"
|
||||
app:useSimpleSummaryProvider="true" />
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory app:title="@string/sync_header">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue