android-calculatorpp/res/xml/main_preferences.xml

44 lines
1.4 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-26 15:46:47 -04:00
<org.solovyev.android.view.prefs.NumberPickerDialogPreference
a:key="@string/p_calc_result_precision_key"
2011-09-28 14:53:50 -04:00
a:title="@string/p_calc_result_precision_title"
2011-09-26 15:46:47 -04:00
a:defaultValue="5"
range:boundaries="0;10"/>
<android.preference.CheckBoxPreference
a:key="@string/p_calc_color_display_key"
2011-09-28 14:53:50 -04:00
a:title="@string/c_calc_color_display_title"
2011-09-26 15:46:47 -04:00
a:defaultValue="true"/>
2011-09-19 14:50:01 -04:00
2011-09-28 14:53:50 -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-28 14:53:50 -04:00
range:boundaries="0;45"/>-->
2011-09-20 16:33:29 -04:00
2011-07-16 15:25:12 -04:00
</PreferenceCategory>
</PreferenceScreen>