summaryrefslogtreecommitdiffstats
path: root/res/xml
diff options
context:
space:
mode:
authorMathew Inwood <mathewi@google.com>2011-09-02 15:43:17 +0100
committerMathew Inwood <mathewi@google.com>2011-09-05 13:38:54 +0100
commit467813fba07c4dcc4ce350a3d4576f5739c5c940 (patch)
treed54953b7dd04dd058feaba6265139076d58ddf17 /res/xml
parent012dcd474cd3980aa206e4b7a31fa67114f56d54 (diff)
downloadandroid_packages_apps_Gello-467813fba07c4dcc4ce350a3d4576f5739c5c940.tar.gz
android_packages_apps_Gello-467813fba07c4dcc4ce350a3d4576f5739c5c940.tar.bz2
android_packages_apps_Gello-467813fba07c4dcc4ce350a3d4576f5739c5c940.zip
More fine-grained config for 'Search result preloading' setting.
Instead of a checkbox, it's now a setting always/wifi only/never. Bug: 5086576 Change-Id: I265a22968eafee547571dc86c10c5d5421a305e8
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/bandwidth_preferences.xml9
1 files changed, 6 insertions, 3 deletions
diff --git a/res/xml/bandwidth_preferences.xml b/res/xml/bandwidth_preferences.xml
index 0767ac52..8a313041 100644
--- a/res/xml/bandwidth_preferences.xml
+++ b/res/xml/bandwidth_preferences.xml
@@ -16,11 +16,14 @@
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
- <CheckBoxPreference
- android:key="preload_enabled"
+ <ListPreference
+ android:key="preload_when"
android:title="@string/pref_data_preload_title"
android:summary="@string/pref_data_preload_summary"
- android:defaultValue="false" />
+ android:defaultValue="@string/pref_data_preload_value_wifi_only"
+ android:entries="@array/pref_data_preload_choices"
+ android:entryValues="@array/pref_data_preload_values"
+ android:dialogTitle="@string/pref_data_preload_dialogtitle" />
<CheckBoxPreference
android:key="load_images"