diff options
author | Scott Jackson <daneren2005@gmail.com> | 2012-07-07 09:56:40 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2012-07-07 09:56:40 -0700 |
commit | 09d9a8e128640ebea9943824df9274ddb1dda71e (patch) | |
tree | 8c093204f55aba933f7947f2a6ed208c2d7a2ca4 /subsonic-android/res | |
parent | 62e662803c2c59bffb60d43695821ab7af980487 (diff) | |
download | dsub-09d9a8e128640ebea9943824df9274ddb1dda71e.tar.gz dsub-09d9a8e128640ebea9943824df9274ddb1dda71e.tar.bz2 dsub-09d9a8e128640ebea9943824df9274ddb1dda71e.zip |
User defined cache size
Diffstat (limited to 'subsonic-android/res')
-rw-r--r-- | subsonic-android/res/values/strings.xml | 2 | ||||
-rw-r--r-- | subsonic-android/res/xml/settings.xml | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/subsonic-android/res/values/strings.xml b/subsonic-android/res/values/strings.xml index 2a067124..a31ada89 100644 --- a/subsonic-android/res/values/strings.xml +++ b/subsonic-android/res/values/strings.xml @@ -127,7 +127,7 @@ <string name="settings.server_password">Password</string>
<string name="settings.cache_title">Music cache</string>
<string name="settings.preload">Songs to preload</string>
- <string name="settings.cache_size">Cache size</string>
+ <string name="settings.cache_size">Cache size (MB)</string>
<string name="settings.cache_location">Cache location</string>
<string name="settings.cache_location_error">Invalid cache location. Using default.</string>
<string name="settings.testing_connection">Testing connection...</string>
diff --git a/subsonic-android/res/xml/settings.xml b/subsonic-android/res/xml/settings.xml index 427826ac..4e4cd7dd 100644 --- a/subsonic-android/res/xml/settings.xml +++ b/subsonic-android/res/xml/settings.xml @@ -143,12 +143,11 @@ <PreferenceCategory android:title="@string/settings.cache_title"> - <ListPreference + <EditTextPreference android:title="@string/settings.cache_size" android:key="cacheSize" android:defaultValue="500" - android:entryValues="@array/cacheSizeValues" - android:entries="@array/cacheSizeNames"/> + android:digits="0123456789"/> <EditTextPreference android:title="@string/settings.cache_location" |