android-calculatorpp/res/xml/preferences.xml
2011-09-21 00:33:29 +04:00

39 lines
1.4 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="org.solovyev.android.calculator.DragButtonCalibrationActivity_distance"
a:title="Distance of drag event"
a:text=" pxs"
a:defaultValue="40;150"
range:boundaries="15;500"/>
<org.solovyev.android.view.prefs.IntegerRangeSeekBarPreference
a:key="org.solovyev.android.calculator.DragButtonCalibrationActivity_duration"
a:title="Duration of drag event"
a:text=" ms"
a:defaultValue="40;1000"
range:boundaries="5;4000"/>
<org.solovyev.android.view.prefs.IntegerRangeSeekBarPreference
a:key="org.solovyev.android.calculator.DragButtonCalibrationActivity_angle"
a:title="Angle of drag event"
a:text=" degrees"
a:defaultValue="130;180"
range:boundaries="100;180"/>
</PreferenceCategory>
</PreferenceScreen>