altosdroid: Add missing xml files for preferences demo
[fw/altos] / altosdroid / res / xml / preferences.xml
diff --git a/altosdroid/res/xml/preferences.xml b/altosdroid/res/xml/preferences.xml
new file mode 100644 (file)
index 0000000..e33768f
--- /dev/null
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<PreferenceScreen
+    xmlns:android="http://schemas.android.com/apk/res/android">
+  <CheckBoxPreference android:title="@string/pref_units_title"
+                     android:key="@string/pref_units"
+                     android:summary="@string/pref_units_summary" />
+  <EditTextPreference android:title="Your Name"
+                     android:key="username"
+                     android:summary="Please provide your username"></EditTextPreference>
+  <CheckBoxPreference android:title="Application Updates"
+                     android:defaultValue="false"
+                     android:summary="This option if selected will allow the application to check for latest versions."
+                     android:key="applicationUpdates" />
+  <ListPreference     android:title="Download Details"
+                     android:summary="Select the kind of data that you would like to download"
+                     android:key="downloadType"
+                     android:defaultValue="1"
+                     android:entries="@array/listArray"
+                     android:entryValues="@array/listValues" />
+</PreferenceScreen>
\ No newline at end of file