android-calculatorpp/android-app/res/xml/preferences_appearance.xml

129 lines
4.6 KiB
XML
Raw Normal View History

2012-10-10 08:13:58 -04:00
<?xml version="1.0" encoding="utf-8"?>
2013-06-26 04:22:07 -04:00
<!--
~ Copyright 2013 serso aka se.solovyev
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
~
~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ Contact details
~
~ Email: se.solovyev@gmail.com
~ Site: http://se.solovyev.org
-->
2012-10-10 08:13:58 -04:00
<PreferenceScreen xmlns:a="http://schemas.android.com/apk/res/android"
2013-06-26 04:22:07 -04:00
xmlns:range="http://schemas.android.com/apk/res-auto">
2013-06-14 16:31:49 -04:00
<PreferenceScreen a:title="@string/c_prefs_appearance_category">
2013-06-26 04:22:07 -04:00
<org.solovyev.android.ads.AdViewPreference a:layout="@layout/acl_adview_pref"/>
2013-06-14 16:31:49 -04:00
<android.preference.CheckBoxPreference
2013-06-26 04:22:07 -04:00
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"/>
2013-06-14 16:31:49 -04:00
<android.preference.CheckBoxPreference
2013-06-26 04:22:07 -04:00
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"/>
2013-06-14 16:31:49 -04:00
<ListPreference
2013-06-26 04:22:07 -04:00
a:key="@string/p_calc_haptic_feedback_duration_key"
a:title="@string/p_calc_haptic_feedback_duration_title"
a:entries="@array/p_calc_haptic_feedback_duration_names"
a:summary="@string/p_calc_haptic_feedback_duration_summary"
a:entryValues="@array/p_calc_haptic_feedback_duration_values"/>
2013-06-14 16:31:49 -04:00
<ListPreference
2013-06-26 04:22:07 -04:00
a:key="@string/p_calc_multiplication_sign_key"
a:title="@string/c_calc_multiplication_sign"
a:entries="@array/p_multiplication_sign_values"
a:summary="@string/c_calc_multiplication_sign_summary"
a:entryValues="@array/p_multiplication_sign_values"/>
2013-06-14 16:31:49 -04:00
<ListPreference
2013-06-26 04:22:07 -04:00
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"
a:entryValues="@array/p_theme_values"/>
2013-06-14 16:31:49 -04:00
<ListPreference
2013-06-26 04:22:07 -04:00
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"/>
2013-06-14 16:31:49 -04:00
<org.solovyev.android.prefs.FloatRangeSeekBarPreference
2013-06-26 04:22:07 -04:00
a:key="@string/p_drag_distance_key"
a:title="@string/c_swipe_distance"
a:summary="@string/c_swipe_distance_summary"
a:text=" pxs"
a:defaultValue="35;350"
range:step="10"
range:boundaries="10;500"/>
2013-06-14 16:31:49 -04:00
<!-- <org.solovyev.android.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.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"/>-->
<android.preference.CheckBoxPreference
2013-06-26 04:22:07 -04:00
a:key="autoOrientation"
a:title="@string/c_auto_orientation_title"
a:summary="@string/c_auto_orientation_summary"
a:defaultValue="true"/>
2013-06-14 16:31:49 -04:00
<android.preference.CheckBoxPreference
2013-06-26 04:22:07 -04:00
a:key="showEqualsButton"
a:title="@string/c_show_equals_button_title"
a:summary="@string/c_show_equals_button_summary"
a:defaultValue="true"/>
2013-06-14 16:31:49 -04:00
<android.preference.CheckBoxPreference
2013-06-26 04:22:07 -04:00
a:key="hideNumeralBaseDigits"
a:title="@string/c_hide_numeral_base_digits_title"
a:summary="@string/c_hide_numeral_base_digits_summary"
a:defaultValue="true"/>
2013-06-14 16:31:49 -04:00
<android.preference.CheckBoxPreference
2013-06-26 04:22:07 -04:00
a:key="history_show_intermediate_calculations"
a:title="@string/prefs_history_show_intermediate_calculations_title"
a:summary="@string/prefs_history_show_intermediate_calculations_summary"/>
2013-06-14 16:31:49 -04:00
2013-06-25 09:24:49 -04:00
<android.preference.CheckBoxPreference
a:key="preventScreenFromFading"
a:title="@string/prefs_prevent_screen_from_fading_title"
2013-06-26 04:22:07 -04:00
a:summary="@string/prefs_prevent_screen_from_fading_summary"/>
2013-06-25 09:24:49 -04:00
2013-06-14 16:31:49 -04:00
</PreferenceScreen>
2012-10-10 08:13:58 -04:00
</PreferenceScreen>