Permalink
Browse files

added platform folder, fixes Base UI > Preferences

  • Loading branch information...
1 parent 6479be9 commit ffb0caf9b6dc82b52c132a7d8534a0c211f5a3f7 @tonylukasavage tonylukasavage committed Mar 23, 2012
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <string-array name="listNames">
+ <item>5 Minutes</item>
+ <item>10 Minutes</item>
+ <item>15 Minutes</item>
+ <item>30 Minutes</item>
+ <item>60 Minutes</item>
+ </string-array>
+ <string-array name="listValues">
+ <item>5</item>
+ <item>10</item>
+ <item>15</item>
+ <item>30</item>
+ <item>60</item>
+ </string-array>
+</resources>
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="utf-8"?>
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
+ android:title="Preferences">
+ <PreferenceScreen
+ android:title="Misc. Preferences"
+ android:summary="Click to see more options">
+ <EditTextPreference
+ android:title="Edit Text Preference"
+ android:summary="You may enter a string"
+ android:defaultValue=""
+ android:key="editText" />
+ </PreferenceScreen>
+ <PreferenceCategory android:title="Category One">
+ <CheckBoxPreference
+ android:title="CheckBox Preference"
+ android:defaultValue="false"
+ android:summary="You may enter a boolean"
+ android:key="checkbox" />
+ <RingtonePreference
+ android:title="Ringtone Preference"
+ android:summary="You may pick a ringtone"
+ android:defaultValue=""
+ android:key="ringtone" />
+ </PreferenceCategory>
+ <PreferenceCategory android:title="Category Two">
+ <ListPreference
+ android:title="List Preference"
+ android:summary="You may chose from multiple choices"
+ android:key="list"
+ android:entries="@array/listNames"
+ android:entryValues="@array/listValues"
+ />
+ </PreferenceCategory>
+</PreferenceScreen>
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <string-array name="listNames">
+ <item>5 Minutes</item>
+ <item>10 Minutes</item>
+ <item>15 Minutes</item>
+ <item>30 Minutes</item>
+ <item>60 Minutes</item>
+ </string-array>
+ <string-array name="listValues">
+ <item>5</item>
+ <item>10</item>
+ <item>15</item>
+ <item>30</item>
+ <item>60</item>
+ </string-array>
+</resources>
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="utf-8"?>
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
+ android:title="Preferences">
+ <PreferenceScreen
+ android:title="Misc. Preferences"
+ android:summary="Click to see more options">
+ <EditTextPreference
+ android:title="Edit Text Preference"
+ android:summary="You may enter a string"
+ android:defaultValue=""
+ android:key="editText" />
+ </PreferenceScreen>
+ <PreferenceCategory android:title="Category One">
+ <CheckBoxPreference
+ android:title="CheckBox Preference"
+ android:defaultValue="false"
+ android:summary="You may enter a boolean"
+ android:key="checkbox" />
+ <RingtonePreference
+ android:title="Ringtone Preference"
+ android:summary="You may pick a ringtone"
+ android:defaultValue=""
+ android:key="ringtone" />
+ </PreferenceCategory>
+ <PreferenceCategory android:title="Category Two">
+ <ListPreference
+ android:title="List Preference"
+ android:summary="You may chose from multiple choices"
+ android:key="list"
+ android:entries="@array/listNames"
+ android:entryValues="@array/listValues"
+ />
+ </PreferenceCategory>
+</PreferenceScreen>
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>StringsTable</key>
+ <string>Root</string>
+ <key>PreferenceSpecifiers</key>
+ <array>
+ <dict>
+ <key>Type</key>
+ <string>PSGroupSpecifier</string>
+ <key>Title</key>
+ <string>Kitchen Sink</string>
+ </dict>
+ <dict>
+ <key>Type</key>
+ <string>PSTextFieldSpecifier</string>
+ <key>Title</key>
+ <string>Name</string>
+ <key>Key</key>
+ <string>name_preference</string>
+ <key>DefaultValue</key>
+ <string></string>
+ <key>IsSecure</key>
+ <false/>
+ <key>KeyboardType</key>
+ <string>Alphabet</string>
+ <key>AutocapitalizationType</key>
+ <string>None</string>
+ <key>AutocorrectionType</key>
+ <string>No</string>
+ </dict>
+ <dict>
+ <key>Type</key>
+ <string>PSToggleSwitchSpecifier</string>
+ <key>Title</key>
+ <string>Enabled</string>
+ <key>Key</key>
+ <string>enabled_preference</string>
+ <key>DefaultValue</key>
+ <true/>
+ </dict>
+ <dict>
+ <key>Type</key>
+ <string>PSSliderSpecifier</string>
+ <key>Key</key>
+ <string>slider_preference</string>
+ <key>DefaultValue</key>
+ <real>0.5</real>
+ <key>MinimumValue</key>
+ <integer>0</integer>
+ <key>MaximumValue</key>
+ <integer>1</integer>
+ <key>MinimumValueImage</key>
+ <string></string>
+ <key>MaximumValueImage</key>
+ <string></string>
+ </dict>
+ </array>
+</dict>
+</plist>
Binary file not shown.

0 comments on commit ffb0caf

Please sign in to comment.