42 lines
1.3 KiB
XML
42 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.FloatRangeSeekBarPreference
|
|
a:key="@string/p_drag_distance_key"
|
|
a:title="Distance of drag event"
|
|
a:text=" pxs"
|
|
a:defaultValue="15;350"
|
|
range:steps="10"
|
|
range:boundaries="10;500"/>
|
|
|
|
<org.solovyev.android.view.prefs.FloatRangeSeekBarPreference
|
|
a:key="@string/p_drag_duration_key"
|
|
a:title="Duration of drag event"
|
|
a:text=" ms"
|
|
a:defaultValue="40;2500"
|
|
range:steps="10"
|
|
range:boundaries="5;4000"/>
|
|
|
|
<org.solovyev.android.view.prefs.FloatRangeSeekBarPreference
|
|
a:key="@string/p_drag_angle_key"
|
|
a:title="Angle of drag event"
|
|
a:text=" degrees"
|
|
a:defaultValue="0;45"
|
|
range:steps="5"
|
|
range:boundaries="0;45"/>
|
|
|
|
</PreferenceCategory>
|
|
|
|
</PreferenceScreen> |