android-calculatorpp/res/xml/main_preferences.xml

81 lines
2.7 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-10-26 15:56:45 -04:00
<PreferenceCategory a:title="@string/c_prefs_calculations_category">
2011-09-18 14:25:28 -04:00
2011-10-26 17:13:51 -04:00
<android.preference.CheckBoxPreference
a:key="@string/p_calc_round_result_key"
a:summary="@string/c_calc_round_result_summary"
a:title="@string/c_calc_round_result_title"
a:defaultValue="true"/>
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"
a:summary="@string/c_calc_result_precision_summary"
2011-09-26 15:46:47 -04:00
a:defaultValue="5"
2011-10-26 17:13:51 -04:00
range:boundaries="0;16"/>
2011-09-26 15:46:47 -04:00
2011-10-26 15:56:45 -04:00
<ListPreference a:key="@string/p_calc_grouping_separator_key"
a:title="@string/c_calc_grouping_separator"
a:entries="@array/p_grouping_separator_names"
a:summary="@string/c_calc_grouping_separator_summary"
a:entryValues="@array/p_grouping_separator_values"/>
</PreferenceCategory>
<PreferenceCategory a:title="@string/c_prefs_appearance_category">
2011-09-26 15:46:47 -04:00
<android.preference.CheckBoxPreference
a:key="@string/p_calc_color_display_key"
a:summary="@string/c_calc_color_display_summary"
a:title="@string/c_calc_color_display_title"
a:defaultValue="true"/>
2011-10-26 15:56:45 -04:00
<android.preference.CheckBoxPreference
a:key="@string/p_calc_haptic_feedback_key"
a:summary="@string/c_calc_haptic_feedback_summary"
a:title="@string/c_calc_haptic_feedback_title"
a:defaultValue="false"/>
2011-10-23 08:05:40 -04:00
<ListPreference a:key="@string/p_calc_theme_key"
a:title="@string/c_calc_theme"
a:entries="@array/p_theme_names"
a:summary="@string/c_calc_theme_summary"
2011-10-23 08:05:40 -04:00
a:entryValues="@array/p_theme_values"/>
2011-10-26 13:32:43 -04:00
<ListPreference a:key="@string/p_calc_layout_key"
a:title="@string/c_calc_layout"
a:entries="@array/p_layout_names"
a:summary="@string/c_calc_layout_summary"
a:entryValues="@array/p_layout_values"/>
<!-- <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"/>-->
2011-07-16 15:25:12 -04:00
</PreferenceCategory>
</PreferenceScreen>