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

105 lines
3.8 KiB
XML
Raw Normal View History

2012-10-26 14:13:17 -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-26 14:13:17 -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_calculations_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_round_result_key"
a:summary="@string/c_calc_round_result_summary"
a:title="@string/c_calc_round_result_title"
a:defaultValue="true"/>
2013-06-14 16:31:49 -04:00
<org.solovyev.android.prefs.IntegerPickerDialogPreference
2013-06-26 04:22:07 -04:00
a:key="@string/p_calc_result_precision_key"
a:title="@string/p_calc_result_precision_title"
a:summary="@string/c_calc_result_precision_summary"
a:defaultValue="5"
range:boundaries="0;16"/>
2013-06-14 16:31:49 -04:00
<android.preference.CheckBoxPreference
2013-06-26 04:22:07 -04:00
a:key="@string/p_calc_science_notation_key"
a:summary="@string/c_calc_science_notation_summary"
a:title="@string/c_calc_science_notation_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_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"/>
2013-06-14 16:31:49 -04:00
<ListPreference
2013-06-26 04:22:07 -04:00
a:key="preferred_angle_units"
a:title="@string/p_preferred_angle_units_title"
a:summary="@string/p_preferred_angle_units_summary"
a:entries="@array/p_angle_units_names"
a:entryValues="@array/p_angle_units"/>
2013-06-14 16:31:49 -04:00
<ListPreference
2013-06-26 04:22:07 -04:00
a:key="@string/p_calc_angle_units_key"
a:title="@string/c_calc_angle_units"
a:entries="@array/p_angle_units_names"
a:summary="@string/c_angle_units_summary"
a:entryValues="@array/p_angle_units"/>
2013-06-14 16:31:49 -04:00
<ListPreference
2013-06-26 04:22:07 -04:00
a:key="preferred_numeral_base"
a:title="@string/p_preferred_numeral_base_title"
a:summary="@string/p_preferred_numeral_base_summary"
a:entries="@array/p_numeral_bases_names"
a:entryValues="@array/p_numeral_bases"/>
2013-06-14 16:31:49 -04:00
<ListPreference
2013-06-26 04:22:07 -04:00
a:key="@string/p_calc_numeral_bases_key"
a:title="@string/c_calc_numeral_bases"
a:entries="@array/p_numeral_bases_names"
a:summary="@string/c_numeral_bases_summary"
a:entryValues="@array/p_numeral_bases"/>
2013-06-14 16:31:49 -04:00
<org.solovyev.android.prefs.IntegerPickerDialogPreference
2013-06-26 04:22:07 -04:00
a:key="@string/p_calc_max_calculation_time_key"
a:title="@string/p_calc_max_calculation_time_title"
a:summary="@string/p_calc_max_calculation_time_summary"
a:defaultValue="5"
range:boundaries="3;1000"/>
2013-06-14 16:31:49 -04:00
<android.preference.CheckBoxPreference
2013-06-26 04:22:07 -04:00
a:key="calculations_calculate_on_fly"
a:title="@string/p_calculations_calculate_on_fly_title"
a:summary="@string/p_calculations_calculate_on_fly_summary"/>
2013-06-14 16:31:49 -04:00
<android.preference.CheckBoxPreference
2013-06-26 04:22:07 -04:00
a:key="show_calculation_messages_dialog"
a:title="@string/p_show_calculation_messages_dialog_title"
a:summary="@string/p_show_calculation_messages_dialog_summary"/>
2013-06-14 16:31:49 -04:00
</PreferenceScreen>
2012-10-26 14:13:17 -04:00
2012-10-10 08:13:58 -04:00
</PreferenceScreen>