android-app -> app
android-app-tests -> app-tests
This commit is contained in:
36
app/src/main/res/xml/calculator_widget.xml
Normal file
36
app/src/main/res/xml/calculator_widget.xml
Normal file
@@ -0,0 +1,36 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<!--
|
||||
~ 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
|
||||
-->
|
||||
|
||||
<appwidget-provider xmlns:a="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
a:initialKeyguardLayout="@layout/widget_layout_lockscreen"
|
||||
a:initialLayout="@layout/widget_layout"
|
||||
a:minHeight="250dp"
|
||||
a:minResizeHeight="180dp"
|
||||
a:minResizeWidth="180dp"
|
||||
a:minWidth="250dp"
|
||||
a:previewImage="@drawable/widget_preview"
|
||||
a:resizeMode="horizontal|vertical"
|
||||
a:widgetCategory="home_screen|keyguard"
|
||||
tools:ignore="UnusedAttribute" />
|
34
app/src/main/res/xml/calculator_widget_info.xml
Normal file
34
app/src/main/res/xml/calculator_widget_info.xml
Normal file
@@ -0,0 +1,34 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<!--
|
||||
~ 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
|
||||
-->
|
||||
|
||||
<appwidget-provider xmlns:a="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
a:initialKeyguardLayout="@layout/widget_layout_lockscreen"
|
||||
a:initialLayout="@layout/widget_layout"
|
||||
a:minHeight="180dp"
|
||||
a:minWidth="180dp"
|
||||
a:previewImage="@drawable/widget_preview"
|
||||
a:resizeMode="horizontal|vertical"
|
||||
a:widgetCategory="home_screen|keyguard"
|
||||
tools:ignore="UnusedAttribute" />
|
32
app/src/main/res/xml/calculator_widget_info_3x3.xml
Normal file
32
app/src/main/res/xml/calculator_widget_info_3x3.xml
Normal file
@@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<!--
|
||||
~ 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
|
||||
-->
|
||||
|
||||
<appwidget-provider xmlns:a="http://schemas.android.com/apk/res/android"
|
||||
a:initialKeyguardLayout="@layout/widget_layout_lockscreen"
|
||||
a:initialLayout="@layout/widget_layout"
|
||||
a:minHeight="180dp"
|
||||
a:minWidth="180dp"
|
||||
a:previewImage="@drawable/widget_preview"
|
||||
a:resizeMode="horizontal|vertical"
|
||||
a:widgetCategory="home_screen|keyguard" />
|
32
app/src/main/res/xml/calculator_widget_info_3x4.xml
Normal file
32
app/src/main/res/xml/calculator_widget_info_3x4.xml
Normal file
@@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<!--
|
||||
~ 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
|
||||
-->
|
||||
|
||||
<appwidget-provider xmlns:a="http://schemas.android.com/apk/res/android"
|
||||
a:initialKeyguardLayout="@layout/widget_layout_lockscreen"
|
||||
a:initialLayout="@layout/widget_layout"
|
||||
a:minHeight="250dp"
|
||||
a:minWidth="180dp"
|
||||
a:previewImage="@drawable/widget_preview"
|
||||
a:resizeMode="horizontal|vertical"
|
||||
a:widgetCategory="home_screen|keyguard" />
|
36
app/src/main/res/xml/calculator_widget_info_4x4.xml
Normal file
36
app/src/main/res/xml/calculator_widget_info_4x4.xml
Normal file
@@ -0,0 +1,36 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<!--
|
||||
~ 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
|
||||
-->
|
||||
|
||||
<appwidget-provider xmlns:a="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
a:initialKeyguardLayout="@layout/widget_layout_lockscreen"
|
||||
a:initialLayout="@layout/widget_layout"
|
||||
a:minHeight="250dp"
|
||||
a:minResizeHeight="180dp"
|
||||
a:minResizeWidth="180dp"
|
||||
a:minWidth="250dp"
|
||||
a:previewImage="@drawable/widget_preview"
|
||||
a:resizeMode="horizontal|vertical"
|
||||
a:widgetCategory="home_screen|keyguard"
|
||||
tools:ignore="UnusedAttribute" />
|
34
app/src/main/res/xml/calculator_widget_info_4x5.xml
Normal file
34
app/src/main/res/xml/calculator_widget_info_4x5.xml
Normal file
@@ -0,0 +1,34 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<!--
|
||||
~ 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
|
||||
-->
|
||||
|
||||
<appwidget-provider xmlns:a="http://schemas.android.com/apk/res/android"
|
||||
a:initialKeyguardLayout="@layout/widget_layout_lockscreen"
|
||||
a:initialLayout="@layout/widget_layout"
|
||||
a:minHeight="320dp"
|
||||
a:minResizeHeight="180dp"
|
||||
a:minResizeWidth="180dp"
|
||||
a:minWidth="250dp"
|
||||
a:previewImage="@drawable/widget_preview"
|
||||
a:resizeMode="horizontal|vertical"
|
||||
a:widgetCategory="home_screen|keyguard" />
|
8
app/src/main/res/xml/ga.xml
Normal file
8
app/src/main/res/xml/ga.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources xmlns:tools="http://schemas.android.com/tools"
|
||||
tools:ignore="UnusedResources">
|
||||
<string name="ga_trackingId">UA-28724009-2</string>
|
||||
<bool name="ga_reportUncaughtExceptions">true</bool>
|
||||
<bool name="ga_autoActivityTracking">true</bool>
|
||||
<string name="ga_sampleFrequency">10.0</string>
|
||||
</resources>
|
57
app/src/main/res/xml/preferences.xml
Normal file
57
app/src/main/res/xml/preferences.xml
Normal file
@@ -0,0 +1,57 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<!--
|
||||
~ 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
|
||||
-->
|
||||
|
||||
<PreferenceScreen xmlns:a="http://schemas.android.com/apk/res/android"
|
||||
a:key="screen-main">
|
||||
|
||||
<Preference
|
||||
a:defaultValue="false"
|
||||
a:key="buy_premium"
|
||||
a:summary="@string/c_calc_ad_free_summary"
|
||||
a:title="@string/c_calc_ad_free_title" />
|
||||
|
||||
<Preference
|
||||
a:key="restart_wizard"
|
||||
a:title="@string/cpp_restart_wizard" />
|
||||
|
||||
<Preference
|
||||
a:key="screen-calculations"
|
||||
a:title="@string/c_prefs_calculations_category" />
|
||||
<Preference
|
||||
a:key="screen-appearance"
|
||||
a:title="@string/c_prefs_appearance_category" />
|
||||
<Preference
|
||||
a:key="screen-plot"
|
||||
a:title="@string/prefs_graph_screen_title" />
|
||||
<Preference
|
||||
a:key="screen-other"
|
||||
a:title="@string/c_prefs_other_category" />
|
||||
<Preference
|
||||
a:key="screen-onscreen"
|
||||
a:title="@string/prefs_onscreen_title" />
|
||||
<Preference
|
||||
a:key="screen-widget"
|
||||
a:title="@string/prefs_widget_title" />
|
||||
|
||||
</PreferenceScreen>
|
96
app/src/main/res/xml/preferences_appearance.xml
Normal file
96
app/src/main/res/xml/preferences_appearance.xml
Normal file
@@ -0,0 +1,96 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<!--
|
||||
~ 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
|
||||
-->
|
||||
|
||||
<PreferenceScreen xmlns:a="http://schemas.android.com/apk/res/android"
|
||||
xmlns:m="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<org.solovyev.android.material.preferences.ListPreference
|
||||
a:key="gui.language"
|
||||
a:title="@string/prefs_language_title"
|
||||
m:materialColor="@color/material_text_selector" />
|
||||
|
||||
<android.preference.CheckBoxPreference
|
||||
a:defaultValue="true"
|
||||
a:key="@string/p_calc_color_display_key"
|
||||
a:summary="@string/c_calc_color_display_summary"
|
||||
a:title="@string/c_calc_color_display_title" />
|
||||
|
||||
<ListPreference
|
||||
a:entries="@array/cpp_haptic_feedback_names"
|
||||
a:entryValues="@array/cpp_haptic_feedback_values"
|
||||
a:key="hapticFeedback"
|
||||
a:summary="@string/c_calc_haptic_feedback_summary"
|
||||
a:title="@string/c_calc_haptic_feedback_title" />
|
||||
|
||||
<ListPreference
|
||||
a:entries="@array/p_multiplication_sign_values"
|
||||
a:entryValues="@array/p_multiplication_sign_values"
|
||||
a:key="@string/p_calc_multiplication_sign_key"
|
||||
a:summary="@string/c_calc_multiplication_sign_summary"
|
||||
a:title="@string/c_calc_multiplication_sign" />
|
||||
|
||||
<ListPreference
|
||||
a:entries="@array/p_theme_names"
|
||||
a:entryValues="@array/p_theme_values"
|
||||
a:key="@string/p_calc_theme_key"
|
||||
a:summary="@string/c_calc_theme_summary"
|
||||
a:title="@string/c_calc_theme" />
|
||||
|
||||
<ListPreference
|
||||
a:entries="@array/p_layout_names"
|
||||
a:entryValues="@array/p_layout_values"
|
||||
a:key="@string/p_calc_layout_key"
|
||||
a:summary="@string/c_calc_layout_summary"
|
||||
a:title="@string/c_calc_layout" />
|
||||
|
||||
<android.preference.CheckBoxPreference
|
||||
a:defaultValue="true"
|
||||
a:key="autoOrientation"
|
||||
a:summary="@string/c_auto_orientation_summary"
|
||||
a:title="@string/c_auto_orientation_title" />
|
||||
|
||||
|
||||
<android.preference.CheckBoxPreference
|
||||
a:defaultValue="true"
|
||||
a:key="showEqualsButton"
|
||||
a:summary="@string/c_show_equals_button_summary"
|
||||
a:title="@string/c_show_equals_button_title" />
|
||||
|
||||
<android.preference.CheckBoxPreference
|
||||
a:defaultValue="true"
|
||||
a:key="hideNumeralBaseDigits"
|
||||
a:summary="@string/c_hide_numeral_base_digits_summary"
|
||||
a:title="@string/c_hide_numeral_base_digits_title" />
|
||||
|
||||
<android.preference.CheckBoxPreference
|
||||
a:key="history_show_intermediate_calculations"
|
||||
a:summary="@string/prefs_history_show_intermediate_calculations_summary"
|
||||
a:title="@string/prefs_history_show_intermediate_calculations_title" />
|
||||
|
||||
<android.preference.CheckBoxPreference
|
||||
a:key="preventScreenFromFading"
|
||||
a:summary="@string/prefs_prevent_screen_from_fading_summary"
|
||||
a:title="@string/prefs_prevent_screen_from_fading_title" />
|
||||
|
||||
</PreferenceScreen>
|
99
app/src/main/res/xml/preferences_calculations.xml
Normal file
99
app/src/main/res/xml/preferences_calculations.xml
Normal file
@@ -0,0 +1,99 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<!--
|
||||
~ 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
|
||||
-->
|
||||
|
||||
<PreferenceScreen xmlns:a="http://schemas.android.com/apk/res/android"
|
||||
xmlns:range="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<android.preference.CheckBoxPreference
|
||||
a:defaultValue="true"
|
||||
a:key="@string/p_calc_round_result_key"
|
||||
a:summary="@string/c_calc_round_result_summary"
|
||||
a:title="@string/c_calc_round_result_title" />
|
||||
|
||||
<org.solovyev.android.prefs.IntegerPickerDialogPreference
|
||||
a:defaultValue="5"
|
||||
a:key="@string/p_calc_result_precision_key"
|
||||
a:summary="@string/c_calc_result_precision_summary"
|
||||
a:title="@string/p_calc_result_precision_title"
|
||||
range:boundaries="0;16" />
|
||||
|
||||
<android.preference.CheckBoxPreference
|
||||
a:defaultValue="false"
|
||||
a:key="@string/p_calc_science_notation_key"
|
||||
a:summary="@string/c_calc_science_notation_summary"
|
||||
a:title="@string/c_calc_science_notation_title" />
|
||||
|
||||
<ListPreference
|
||||
a:entries="@array/p_grouping_separator_names"
|
||||
a:entryValues="@array/p_grouping_separator_values"
|
||||
a:key="@string/p_calc_grouping_separator_key"
|
||||
a:summary="@string/c_calc_grouping_separator_summary"
|
||||
a:title="@string/c_calc_grouping_separator" />
|
||||
|
||||
<ListPreference
|
||||
a:entries="@array/p_angle_units_names"
|
||||
a:entryValues="@array/p_angle_units"
|
||||
a:key="preferred_angle_units"
|
||||
a:summary="@string/p_preferred_angle_units_summary"
|
||||
a:title="@string/p_preferred_angle_units_title" />
|
||||
|
||||
<ListPreference
|
||||
a:entries="@array/p_angle_units_names"
|
||||
a:entryValues="@array/p_angle_units"
|
||||
a:key="@string/p_calc_angle_units_key"
|
||||
a:summary="@string/c_angle_units_summary"
|
||||
a:title="@string/c_calc_angle_units" />
|
||||
|
||||
<ListPreference
|
||||
a:entries="@array/p_numeral_bases_names"
|
||||
a:entryValues="@array/p_numeral_bases"
|
||||
a:key="preferred_numeral_base"
|
||||
a:summary="@string/p_preferred_numeral_base_summary"
|
||||
a:title="@string/p_preferred_numeral_base_title" />
|
||||
|
||||
<ListPreference
|
||||
a:entries="@array/p_numeral_bases_names"
|
||||
a:entryValues="@array/p_numeral_bases"
|
||||
a:key="@string/p_calc_numeral_bases_key"
|
||||
a:summary="@string/c_numeral_bases_summary"
|
||||
a:title="@string/c_calc_numeral_bases" />
|
||||
|
||||
<org.solovyev.android.prefs.IntegerPickerDialogPreference
|
||||
a:defaultValue="5"
|
||||
a:key="@string/p_calc_max_calculation_time_key"
|
||||
a:summary="@string/p_calc_max_calculation_time_summary"
|
||||
a:title="@string/p_calc_max_calculation_time_title"
|
||||
range:boundaries="3;1000" />
|
||||
|
||||
<android.preference.CheckBoxPreference
|
||||
a:key="calculations_calculate_on_fly"
|
||||
a:summary="@string/p_calculations_calculate_on_fly_summary"
|
||||
a:title="@string/p_calculations_calculate_on_fly_title" />
|
||||
|
||||
<android.preference.CheckBoxPreference
|
||||
a:key="show_calculation_messages_dialog"
|
||||
a:summary="@string/p_show_calculation_messages_dialog_summary"
|
||||
a:title="@string/p_show_calculation_messages_dialog_title" />
|
||||
|
||||
</PreferenceScreen>
|
43
app/src/main/res/xml/preferences_onscreen.xml
Normal file
43
app/src/main/res/xml/preferences_onscreen.xml
Normal file
@@ -0,0 +1,43 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<!--
|
||||
~ 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
|
||||
-->
|
||||
|
||||
<PreferenceScreen xmlns:a="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<ListPreference
|
||||
a:entries="@array/p_simple_theme_names"
|
||||
a:entryValues="@array/p_simple_theme_values"
|
||||
a:key="onscreen.theme"
|
||||
a:title="@string/c_calc_theme" />
|
||||
|
||||
<android.preference.CheckBoxPreference
|
||||
a:key="onscreen_start_on_boot"
|
||||
a:summary="@string/prefs_onscreen_start_on_boot_summary"
|
||||
a:title="@string/prefs_onscreen_start_on_boot_title" />
|
||||
|
||||
<android.preference.CheckBoxPreference
|
||||
a:key="onscreen_show_app_icon"
|
||||
a:summary="@string/prefs_onscreen_show_app_icon_summary"
|
||||
a:title="@string/prefs_onscreen_show_app_icon_title" />
|
||||
|
||||
</PreferenceScreen>
|
39
app/src/main/res/xml/preferences_other.xml
Normal file
39
app/src/main/res/xml/preferences_other.xml
Normal file
@@ -0,0 +1,39 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<!--
|
||||
~ 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
|
||||
-->
|
||||
|
||||
<PreferenceScreen xmlns:a="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<android.preference.CheckBoxPreference
|
||||
a:defaultValue="true"
|
||||
a:key="@string/p_calc_show_release_notes_key"
|
||||
a:summary="@string/c_calc_show_release_notes_summary"
|
||||
a:title="@string/c_calc_show_release_notes_title" />
|
||||
|
||||
<android.preference.CheckBoxPreference
|
||||
a:defaultValue="false"
|
||||
a:key="@string/p_calc_use_back_button_as_prev_key"
|
||||
a:summary="@string/c_calc_use_back_button_as_prev_summary"
|
||||
a:title="@string/c_calc_use_back_button_as_prev_title" />
|
||||
|
||||
</PreferenceScreen>
|
32
app/src/main/res/xml/preferences_plot.xml
Normal file
32
app/src/main/res/xml/preferences_plot.xml
Normal file
@@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<!--
|
||||
~ 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
|
||||
-->
|
||||
|
||||
<PreferenceScreen xmlns:a="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<android.preference.CheckBoxPreference
|
||||
a:key="graph_plot_imag"
|
||||
a:summary="@string/cpp_prefs_graph_plot_imag_summary"
|
||||
a:title="@string/cpp_prefs_graph_plot_imag_title" />
|
||||
|
||||
</PreferenceScreen>
|
33
app/src/main/res/xml/preferences_widget.xml
Normal file
33
app/src/main/res/xml/preferences_widget.xml
Normal file
@@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<!--
|
||||
~ 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
|
||||
-->
|
||||
|
||||
<PreferenceScreen xmlns:a="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<ListPreference
|
||||
a:entries="@array/p_simple_theme_names"
|
||||
a:entryValues="@array/p_simple_theme_values"
|
||||
a:key="widget.theme"
|
||||
a:title="@string/c_calc_theme" />
|
||||
|
||||
</PreferenceScreen>
|
Reference in New Issue
Block a user