mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 18:03:33 +00:00
TEST - Added media cache in exoplayer
This commit is contained in:
parent
1c6b8024b9
commit
0b57cd3176
4 changed files with 30 additions and 2 deletions
|
|
@ -29,4 +29,19 @@
|
|||
<item>200000000</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="pref_media_cache_size_titles">
|
||||
<item>Unlimited</item>
|
||||
<item>2GB</item>
|
||||
<item>1GB</item>
|
||||
<item>400MB</item>
|
||||
<item>200MB</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="pref_media_cache_size_values">
|
||||
<item>4000000000</item>
|
||||
<item>2000000000</item>
|
||||
<item>1000000000</item>
|
||||
<item>400000000</item>
|
||||
<item>200000000</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
|
@ -5,6 +5,7 @@
|
|||
<string name="search_hint">Search title, artists or albums</string>
|
||||
<string name="theme_selection">Choose theme</string>
|
||||
<string name="covers_cache">Covers cache</string>
|
||||
<string name="media_cache">Media cache</string>
|
||||
<string name="library_menu_label">Library</string>
|
||||
<string name="home_menu_label">Home</string>
|
||||
<string name="search_menu_label">Search</string>
|
||||
|
|
|
|||
|
|
@ -10,6 +10,15 @@
|
|||
app:title="@string/covers_cache"
|
||||
app:useSimpleSummaryProvider="true" />
|
||||
|
||||
<ListPreference
|
||||
app:defaultValue="400000000"
|
||||
app:dialogTitle="@string/media_cache"
|
||||
app:entries="@array/pref_media_cache_size_titles"
|
||||
app:entryValues="@array/pref_media_cache_size_values"
|
||||
app:key="media_cache_size"
|
||||
app:title="@string/media_cache"
|
||||
app:useSimpleSummaryProvider="true" />
|
||||
|
||||
<ListPreference
|
||||
app:defaultValue="default"
|
||||
app:dialogTitle="@string/theme_selection"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue