android-calculatorpp/res/xml/preferences.xml
2011-09-22 00:23:41 +04:00

39 lines
1.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:range="http://schemas.android.com/apk/res/org.solovyev.android.calculator">
<PreferenceCategory a:title="@string/c_prefs_drag_button_category">
<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"/>
<org.solovyev.android.view.prefs.IntegerRangeSeekBarPreference
a:key="@string/p_drag_distance_key"
a:title="Distance of drag event"
a:text=" pxs"
a:defaultValue="@string/p_drag_distance"
range:boundaries="10;500"/>
<org.solovyev.android.view.prefs.IntegerRangeSeekBarPreference
a:key="@string/p_drag_duration_key"
a:title="Duration of drag event"
a:text=" ms"
a:defaultValue="@string/p_drag_duration"
range:boundaries="5;4000"/>
<org.solovyev.android.view.prefs.IntegerRangeSeekBarPreference
a:key="@string/p_drag_angle_key"
a:title="Angle of drag event"
a:text=" degrees"
a:defaultValue="@string/p_drag_angle"
range:boundaries="100;180"/>
</PreferenceCategory>
</PreferenceScreen>