android-calculatorpp/res/xml/preferences.xml

42 lines
1.3 KiB
XML
Raw Normal View History

2011-07-16 15:25:12 -04:00
<?xml version="1.0" encoding="utf-8"?>
2011-09-19 14:50:01 -04:00
<PreferenceScreen xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:range="http://schemas.android.com/apk/res/org.solovyev.android.calculator">
2011-09-18 14:25:28 -04:00
<PreferenceCategory a:title="@string/c_prefs_drag_button_category">
2011-09-19 14:50:01 -04:00
<org.solovyev.android.view.prefs.SeekBarPreference a:key="duration"
a:title="Duration of something"
a:summary="How long something will last"
a:dialogMessage="Something duration"
a:defaultValue="5"
a:text=" minutes"
a:max="60"/>
2011-09-22 03:08:27 -04:00
<org.solovyev.android.view.prefs.FloatRangeSeekBarPreference
2011-09-21 16:23:41 -04:00
a:key="@string/p_drag_distance_key"
2011-09-20 16:33:29 -04:00
a:title="Distance of drag event"
a:text=" pxs"
2011-09-22 03:08:27 -04:00
a:defaultValue="15;350"
2011-09-25 03:12:59 -04:00
range:steps="10"
2011-09-21 16:23:41 -04:00
range:boundaries="10;500"/>
2011-09-20 16:33:29 -04:00
2011-09-22 03:08:27 -04:00
<org.solovyev.android.view.prefs.FloatRangeSeekBarPreference
2011-09-21 16:23:41 -04:00
a:key="@string/p_drag_duration_key"
2011-09-20 16:33:29 -04:00
a:title="Duration of drag event"
a:text=" ms"
2011-09-22 03:08:27 -04:00
a:defaultValue="40;2500"
2011-09-25 03:12:59 -04:00
range:steps="10"
2011-09-20 16:33:29 -04:00
range:boundaries="5;4000"/>
2011-09-22 03:08:27 -04:00
<org.solovyev.android.view.prefs.FloatRangeSeekBarPreference
2011-09-21 16:23:41 -04:00
a:key="@string/p_drag_angle_key"
2011-09-20 16:33:29 -04:00
a:title="Angle of drag event"
a:text=" degrees"
2011-09-22 03:08:27 -04:00
a:defaultValue="0;45"
2011-09-25 03:12:59 -04:00
range:steps="5"
2011-09-22 03:08:27 -04:00
range:boundaries="0;45"/>
2011-09-20 16:33:29 -04:00
2011-07-16 15:25:12 -04:00
</PreferenceCategory>
</PreferenceScreen>