fix warnings and add some type safety for preferences
This commit is contained in:
parent
08034e0696
commit
37eb40e79a
11 changed files with 86 additions and 44 deletions
|
|
@ -7,9 +7,9 @@
|
|||
</string-array>
|
||||
|
||||
<string-array name="pref_theme_values">
|
||||
<item>light</item>
|
||||
<item>dark</item>
|
||||
<item>black</item>
|
||||
<item>LIGHT</item>
|
||||
<item>DARK</item>
|
||||
<item>BLACK</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="pref_transcode_codec_titles">
|
||||
|
|
@ -61,11 +61,11 @@
|
|||
</string-array>
|
||||
|
||||
<string-array name="pref_cache_size_values">
|
||||
<item>10000000000</item>
|
||||
<item>2000000000</item>
|
||||
<item>1000000000</item>
|
||||
<item>400000000</item>
|
||||
<item>200000000</item>
|
||||
<item>10000</item>
|
||||
<item>2000</item>
|
||||
<item>1000</item>
|
||||
<item>400</item>
|
||||
<item>200</item>
|
||||
</string-array>
|
||||
|
||||
</resources>
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
<com.kabouzeid.appthemehelper.common.prefs.supportv7.ATEListPreference
|
||||
app:iconSpaceReserved="false"
|
||||
android:defaultValue="400000000"
|
||||
android:defaultValue="400"
|
||||
android:entries="@array/pref_cache_size_titles"
|
||||
android:entryValues="@array/pref_cache_size_values"
|
||||
android:key="image_cache_size"
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
<com.kabouzeid.appthemehelper.common.prefs.supportv7.ATEListPreference
|
||||
app:iconSpaceReserved="false"
|
||||
android:defaultValue="400000000"
|
||||
android:defaultValue="400"
|
||||
android:entries="@array/pref_cache_size_titles"
|
||||
android:entryValues="@array/pref_cache_size_values"
|
||||
android:key="media_cache_size"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue