Project restructure
We don't need to separate widget/onscreen from the main module, let's merge them together.
This commit is contained in:
4
android-app/src/main/res/values/admob.xml
Normal file
4
android-app/src/main/res/values/admob.xml
Normal file
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="admob" translatable="false">ca-app-pub-2228934497384784/2916398892</string>
|
||||
</resources>
|
@@ -101,4 +101,36 @@
|
||||
<item>bin</item>
|
||||
</string-array>
|
||||
|
||||
<!--
|
||||
monochrome,
|
||||
dashed,
|
||||
dotted,
|
||||
dash_dotted;
|
||||
-->
|
||||
<string-array name="cpp_plot_line_style_names">
|
||||
<item>@string/cpp_solid_line_style</item>
|
||||
<item>@string/cpp_dashed_line_style</item>
|
||||
<item>@string/cpp_dotted_line_style</item>
|
||||
<item>@string/cpp_dash_dotted_line_style</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="cpp_plot_line_color_type_names">
|
||||
<item>@string/cpp_monochrome_line_color_type</item>
|
||||
<item>@string/cpp_color_map_line_color_type</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="cpp_plot_line_color_names">
|
||||
<item>@string/p_white_line_color</item>
|
||||
<item>@string/p_blue_line_color</item>
|
||||
<item>@string/p_red_line_color</item>
|
||||
<item>@string/p_green_line_color</item>
|
||||
<item>@string/p_grey_line_color</item>
|
||||
</string-array>
|
||||
<string-array name="cpp_plot_line_color_values">
|
||||
<item>white</item>
|
||||
<item>blue</item>
|
||||
<item>red</item>
|
||||
<item>green</item>
|
||||
<item>grey</item>
|
||||
</string-array>
|
||||
</resources>
|
41
android-app/src/main/res/values/attributes.xml
Normal file
41
android-app/src/main/res/values/attributes.xml
Normal file
@@ -0,0 +1,41 @@
|
||||
<?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
|
||||
-->
|
||||
|
||||
<resources>
|
||||
|
||||
<attr name="cpp_dialog_style" format="reference"/>
|
||||
<attr name="cpp_digit_button_style" format="reference"/>
|
||||
<attr name="cpp_control_button_style" format="reference"/>
|
||||
<attr name="cpp_control_image_button_style" format="reference"/>
|
||||
<attr name="cpp_operation_button_style" format="reference"/>
|
||||
<attr name="cpp_fragment_layout_style" format="reference"/>
|
||||
<attr name="cpp_fragment_title_style" format="reference"/>
|
||||
<attr name="cpp_fragment_list_view_style" format="reference"/>
|
||||
<attr name="cpp_fragment_list_view_item_style" format="reference"/>
|
||||
<attr name="cpp_button_style" format="reference"/>
|
||||
<attr name="cpp_pane_style" format="reference"/>
|
||||
<attr name="cpp_pane_style_transparent" format="reference"/>
|
||||
<attr name="cpp_main_layout_style" format="reference"/>
|
||||
<attr name="cpp_main_multi_pane_layout_style" format="reference"/>
|
||||
|
||||
</resources>
|
40
android-app/src/main/res/values/colors.xml
Normal file
40
android-app/src/main/res/values/colors.xml
Normal file
@@ -0,0 +1,40 @@
|
||||
<?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
|
||||
-->
|
||||
|
||||
<resources>
|
||||
<color name="cpp_list_divider">#ff2e2e2e</color>
|
||||
<color name="cpp_default_text_color">#ffffffff</color>
|
||||
<color name="cpp_display_error_text_color">#ff393939</color>
|
||||
<color name="cpp_button_text_color">#ffffffff</color>
|
||||
<color name="cpp_button_operator_text_color">#ffffff99</color>
|
||||
<color name="cpp_button_ce_text_color">#ffffffff</color>
|
||||
<color name="cpp_selected_angle_unit_text_color">#ffffff99</color>
|
||||
<color name="cpp_default_background">#ff000000</color>
|
||||
<color name="cpp_pane_background">#ff1f1f1f</color>
|
||||
<color name="cpp_metro_button_background">#ff1f1f1f</color>
|
||||
<color name="cpp_metro_blue_color">#10648c</color>
|
||||
<color name="cpp_metro_green_color">#088e3a</color>
|
||||
<color name="cpp_metro_purple_color">#651456</color>
|
||||
<color name="cpp_metro_light_button_background">#393939</color>
|
||||
<color name="cpp_widget_cursor_color">#ff707070</color>
|
||||
</resources>
|
38
android-app/src/main/res/values/dimens.xml
Normal file
38
android-app/src/main/res/values/dimens.xml
Normal file
@@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<dimen name="cpp_widget_editor_text_size_collapsed">16sp</dimen>
|
||||
<dimen name="cpp_widget_editor_text_size">25sp</dimen>
|
||||
<dimen name="cpp_widget_display_text_size_collapsed">16sp</dimen>
|
||||
<dimen name="cpp_widget_display_text_size">25sp</dimen>
|
||||
<dimen name="cpp_widget_margin">6dp</dimen>
|
||||
<dimen name="min_expanded_height_lock_screen">300dp</dimen>
|
||||
<dimen name="cpp_text_size">20sp</dimen>
|
||||
<dimen name="cpp_button_margin">0.5dp</dimen>
|
||||
<dimen name="cpp_display_margin_land">2.5dp</dimen>
|
||||
|
||||
<dimen name="cpp_fragment_text_size">15sp</dimen>
|
||||
<dimen name="cpp_fragment_title_text_size">20sp</dimen>
|
||||
|
||||
<dimen name="cpp_keyboard_button_text_size">30dp</dimen>
|
||||
<dimen name="cpp_button_text_size">20dp</dimen>
|
||||
|
||||
<dimen name="cpp_keyboard_button_text_size_mobile">20dp</dimen>
|
||||
<dimen name="cpp_display_text_size_mobile">25sp</dimen>
|
||||
<dimen name="cpp_editor_text_size_mobile">25sp</dimen>
|
||||
|
||||
<dimen name="cpp_display_text_size">25sp</dimen>
|
||||
<dimen name="cpp_editor_text_size">25sp</dimen>
|
||||
<dimen name="cpp_pane_margin">5dp</dimen>
|
||||
<dimen name="cpp_pane_padding">5dp</dimen>
|
||||
<dimen name="cpp_math_entity_text_size">20sp</dimen>
|
||||
<dimen name="cpp_math_entity_description_text_size">15sp</dimen>
|
||||
|
||||
<dimen name="cpp_onscreen_display_text_size">20sp</dimen>
|
||||
<dimen name="cpp_onscreen_header_button_text_size">10dp</dimen>
|
||||
|
||||
<!--only for not multipane-->
|
||||
<dimen name="cpp_editor_padding">5dp</dimen>
|
||||
<dimen name="cpp_display_padding">3dp</dimen>
|
||||
|
||||
<dimen name="cpp_widget_keyboard_button_text_size">20dp</dimen>
|
||||
</resources>
|
63
android-app/src/main/res/values/ids.xml
Normal file
63
android-app/src/main/res/values/ids.xml
Normal file
@@ -0,0 +1,63 @@
|
||||
<?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
|
||||
-->
|
||||
|
||||
<resources>
|
||||
<item type="id" name="cpp_button_1"/>
|
||||
<item type="id" name="cpp_button_2"/>
|
||||
<item type="id" name="cpp_button_3"/>
|
||||
<item type="id" name="cpp_button_4"/>
|
||||
<item type="id" name="cpp_button_5"/>
|
||||
<item type="id" name="cpp_button_6"/>
|
||||
<item type="id" name="cpp_button_7"/>
|
||||
<item type="id" name="cpp_button_8"/>
|
||||
<item type="id" name="cpp_button_9"/>
|
||||
<item type="id" name="cpp_button_0"/>
|
||||
|
||||
<item type="id" name="cpp_button_period"/>
|
||||
<item type="id" name="cpp_button_round_brackets"/>
|
||||
<item type="id" name="cpp_button_settings"/>
|
||||
<item type="id" name="cpp_button_like"/>
|
||||
<item type="id" name="cpp_button_left"/>
|
||||
<item type="id" name="cpp_button_right"/>
|
||||
<item type="id" name="cpp_button_vars"/>
|
||||
<item type="id" name="cpp_button_functions"/>
|
||||
<item type="id" name="cpp_button_operators"/>
|
||||
<item type="id" name="cpp_button_app"/>
|
||||
<item type="id" name="cpp_button_history"/>
|
||||
<item type="id" name="cpp_button_multiplication"/>
|
||||
<item type="id" name="cpp_button_division"/>
|
||||
<item type="id" name="cpp_button_plus"/>
|
||||
<item type="id" name="cpp_button_subtraction"/>
|
||||
<item type="id" name="cpp_button_percent"/>
|
||||
<item type="id" name="cpp_button_power"/>
|
||||
<item type="id" name="cpp_button_clear"/>
|
||||
<item type="id" name="cpp_button_erase"/>
|
||||
<item type="id" name="cpp_button_copy"/>
|
||||
<item type="id" name="cpp_button_paste"/>
|
||||
<item type="id" name="cpp_button_equals"/>
|
||||
|
||||
<item type="id" name="acl_wizard_prev_button"/>
|
||||
<item type="id" name="acl_wizard_next_button"/>
|
||||
<item type="id" name="acl_wizard_content"/>
|
||||
|
||||
</resources>
|
144
android-app/src/main/res/values/styles.xml
Normal file
144
android-app/src/main/res/values/styles.xml
Normal file
@@ -0,0 +1,144 @@
|
||||
<!--
|
||||
~ 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
|
||||
-->
|
||||
|
||||
<resources>
|
||||
|
||||
<style name="cpp_window_title">
|
||||
<item name="android:singleLine">true</item>
|
||||
<item name="android:textAppearance">@style/cpp_text_appearance_window_title</item>
|
||||
<item name="android:shadowColor">#BB000000</item>
|
||||
<item name="android:shadowRadius">2.75</item>
|
||||
</style>
|
||||
|
||||
<style name="cpp_text_appearance_window_title">
|
||||
<item name="android:textColor">#fff</item>
|
||||
<item name="android:textSize">14sp</item>
|
||||
<item name="android:textStyle">bold</item>
|
||||
</style>
|
||||
|
||||
|
||||
<style name="cpp_default_text_size">
|
||||
<item name="android:textSize">@dimen/cpp_text_size</item>
|
||||
</style>
|
||||
|
||||
<style name="cpp_button_style">
|
||||
<item name="android:layout_width">wrap_content</item>
|
||||
<item name="android:layout_height">wrap_content</item>
|
||||
<item name="android:focusable">true</item>
|
||||
<item name="android:background">@drawable/metro_blue_button</item>
|
||||
<item name="android:textSize">@dimen/cpp_button_text_size</item>
|
||||
<item name="android:textColor">@color/cpp_button_text_color</item>
|
||||
</style>
|
||||
|
||||
<style name="cpp_keyboard_button_style">
|
||||
<item name="android:layout_width">fill_parent</item>
|
||||
<item name="android:layout_height">fill_parent</item>
|
||||
<item name="android:layout_weight">1</item>
|
||||
<item name="android:focusable">true</item>
|
||||
<item name="android:background">@drawable/metro_button_dark</item>
|
||||
<item name="android:layout_margin">@dimen/cpp_button_margin</item>
|
||||
<item name="android:textSize">@dimen/cpp_keyboard_button_text_size</item>
|
||||
<item name="android:textColor">@color/cpp_button_text_color</item>
|
||||
<item name="android:scaleType">centerInside</item>
|
||||
</style>
|
||||
|
||||
<style name="cpp_onscreen_editor_style" parent="cpp_editor_style">
|
||||
<item name="android:ellipsize">none</item>
|
||||
<item name="android:singleLine">true</item>
|
||||
<item name="android:maxLines">1</item>
|
||||
<item name="android:minLines">1</item>
|
||||
<item name="android:lines">1</item>
|
||||
<item name="android:scrollbars">horizontal</item>
|
||||
</style>
|
||||
|
||||
<style name="cpp_editor_style" parent="cpp_default_text">
|
||||
<item name="android:text">""</item>
|
||||
<item name="android:gravity">left|top</item>
|
||||
<item name="android:layout_width">fill_parent</item>
|
||||
<item name="android:layout_height">fill_parent</item>
|
||||
<item name="android:textSize">@dimen/cpp_editor_text_size</item>
|
||||
</style>
|
||||
|
||||
<style name="cpp_editor_mobile_style" parent="cpp_editor_style">
|
||||
<item name="android:textSize">@dimen/cpp_editor_text_size_mobile</item>
|
||||
</style>
|
||||
|
||||
<style name="cpp_display_style" parent="cpp_default_text">
|
||||
<item name="android:gravity">top|right</item>
|
||||
<item name="android:layout_width">match_parent</item>
|
||||
<item name="android:layout_height">match_parent</item>
|
||||
<item name="android:textSize">@dimen/cpp_display_text_size</item>
|
||||
</style>
|
||||
|
||||
<style name="cpp_onscreen_display_style" parent="cpp_display_style">
|
||||
<item name="android:textSize">@dimen/cpp_onscreen_display_text_size</item>
|
||||
</style>
|
||||
|
||||
<style name="cpp_about_style" parent="cpp_default_text">
|
||||
<item name="android:gravity">center</item>
|
||||
<item name="android:layout_width">fill_parent</item>
|
||||
<item name="android:layout_height">fill_parent</item>
|
||||
<item name="android:textSize">@dimen/cpp_fragment_text_size</item>
|
||||
<item name="android:padding">5dp</item>
|
||||
</style>
|
||||
|
||||
<style name="cpp_default_text">
|
||||
<item name="android:background">@android:color/transparent</item>
|
||||
<item name="android:textColor">@color/cpp_default_text_color</item>
|
||||
</style>
|
||||
|
||||
|
||||
<style name="cpp_simple_metro_digit_button_style" parent="metro_digit_button_style">
|
||||
<item name="android:textSize">@dimen/cpp_widget_keyboard_button_text_size</item>
|
||||
</style>
|
||||
|
||||
<style name="cpp_simple_metro_control_button_style" parent="metro_control_button_style">
|
||||
<item name="android:textSize">@dimen/cpp_widget_keyboard_button_text_size</item>
|
||||
</style>
|
||||
|
||||
<style name="cpp_simple_metro_blue_operation_button_style" parent="metro_blue_operation_button_style">
|
||||
<item name="android:textSize">@dimen/cpp_widget_keyboard_button_text_size</item>
|
||||
</style>
|
||||
|
||||
<style name="cpp_simple_metro_control_image_button_style" parent="metro_control_image_button_style">
|
||||
</style>
|
||||
|
||||
<style name="cpp_widget_main_layout_style" parent="cpp_default_main_layout_style">
|
||||
<item name="android:background">@color/cpp_default_background</item>
|
||||
<item name="android:padding">1dp</item>
|
||||
<item name="android:layout_margin">@dimen/cpp_widget_margin</item>
|
||||
</style>
|
||||
|
||||
<style name="cpp_widget_editor_style" parent="cpp_editor_style">
|
||||
<item name="android:textSize">@dimen/cpp_widget_editor_text_size</item>
|
||||
</style>
|
||||
|
||||
<style name="cpp_widget_display_style" parent="cpp_display_style">
|
||||
<item name="android:textSize">@dimen/cpp_widget_display_text_size</item>
|
||||
</style>
|
||||
|
||||
<style name="cpp_onscreen_main_layout_style" parent="cpp_default_main_layout_style">
|
||||
<item name="android:background">@color/cpp_default_background</item>
|
||||
<item name="android:padding">1dp</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
25
android-app/src/main/res/values/text_about.xml
Normal file
25
android-app/src/main/res/values/text_about.xml
Normal file
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--Generated by crowdin.com-->
|
||||
<!--Generated by crowdin.net-->
|
||||
<resources>
|
||||
<string name="c_about">About</string>
|
||||
<string name="c_about_content">Copyright © 2009–2013\n\n<b>Created by serso aka se.solovyev</b>\n\n
|
||||
We are on Facebook: <a href="http://facebook.com/calculatorpp">http://facebook.com/calculatorpp</a>\n\n
|
||||
This program is distributed under Apache 2.0 License:\nsource code can be found on\n
|
||||
<a href="https://github.com/serso/android-calculatorpp">http://github.com</a>\n\n
|
||||
For more information please\ncontact the author by email\n
|
||||
<a href="mailto:se.solovyev@gmail.com">se.solovyev@gmail.com</a>
|
||||
\nor visit\n<a href="http://se.solovyev.org">http://se.solovyev.org</a>\n\n
|
||||
If you want to support the project\nyou can buy a special option from application preferences\n\n
|
||||
If you like the application\nrate it with 5 stars on\n
|
||||
<a href="https://market.android.com/details?id=org.solovyev.android.calculator">Google Play</a>\n\n
|
||||
This application uses next open source libraries:\n
|
||||
<a href="http://simple.sourceforge.net">Simple (XML serialization)</a>\n
|
||||
<a href="http://meditorworld.appspot.com/meditor.txt">JSCL</a>
|
||||
</string>
|
||||
<string name="cpp_translators_text">This app is translated to English by: </string>
|
||||
<string name="cpp_translators_list">Sergey Solovyev</string>
|
||||
<string name="c_release_notes">Release notes</string>
|
||||
<string name="c_release_notes_for_title">"Release notes for version "</string>
|
||||
<string name="cpp_share_link">http://www.facebook.com/calculatorpp</string>
|
||||
</resources>
|
49
android-app/src/main/res/values/text_functions.xml
Normal file
49
android-app/src/main/res/values/text_functions.xml
Normal file
@@ -0,0 +1,49 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--Generated by crowdin.com-->
|
||||
<!--Generated by crowdin.net-->
|
||||
<resources>
|
||||
<string name="c_functions">Functions</string>
|
||||
<string name="c_fun_description_sin">Trigonometric sine function</string>
|
||||
<string name="c_fun_description_cos">Trigonometric cosine function</string>
|
||||
<string name="c_fun_description_tan">Trigonometric tangent function</string>
|
||||
<string name="c_fun_description_cot">Trigonometric cotangent function</string>
|
||||
<string name="c_fun_description_asin">Arcsine - inverse sine function</string>
|
||||
<string name="c_fun_description_acos">Arccosine - inverse cosine function</string>
|
||||
<string name="c_fun_description_atan">Arctangent - inverse tangent function</string>
|
||||
<string name="c_fun_description_acot">Arccotangent - inverse cotangent function</string>
|
||||
<string name="c_fun_description_ln">Natural logarithm - logarithm to base e</string>
|
||||
<string name="c_fun_description_lg">Decadic logarithm - logarithm to base 10</string>
|
||||
<string name="c_fun_description_log">Logarithm - logarithm the specified base</string>
|
||||
<string name="c_fun_description_exp">Exponential function</string>
|
||||
<string name="c_fun_description_sqrt">Square root function</string>
|
||||
<string name="c_fun_description_cubic">Cubic root function</string>
|
||||
<string name="c_fun_description_abs">Gives absolute value of an argument</string>
|
||||
<string name="c_fun_description_sgn">Gives the sign of an argument: -1 if an argument is less than 0, 0
|
||||
if equals to 0, 1 if more than 0
|
||||
</string>
|
||||
<string name="c_fun_description_eq">Equals function - gives 1 if two arguments are equals, otherwise 0</string>
|
||||
<string name="c_fun_description_le">Lesser-or-equals function - gives 1 if two arguments are equals or the first is less
|
||||
than the second, otherwise 0
|
||||
</string>
|
||||
<string name="c_fun_description_ge">Greater-or-equals function - gives 1 if two arguments are equals or the first is
|
||||
greater than the second, otherwise 0
|
||||
</string>
|
||||
<string name="c_fun_description_ne">Not-equals function - gives 1 if two arguments are not equals, otherwise 0
|
||||
</string>
|
||||
<string name="c_fun_description_lt">Lesser function - gives 1 if the first argument is less than the second, otherwise 0
|
||||
</string>
|
||||
<string name="c_fun_description_gt">Greater function - gives 1 if the first argument is greater than the second, oherwise 0
|
||||
</string>
|
||||
<string name="c_fun_description_rad">Converts degrees into radians: d - degrees, m - minutes (default = 0), s -
|
||||
seconds (default = 0)
|
||||
</string>
|
||||
<string name="c_fun_description_dms">Converts degrees from DMS notation to decimal notation: d - degrees, m -
|
||||
minutes (default = 0), s - seconds (default = 0)
|
||||
</string>
|
||||
<string name="c_fun_description_deg">Converts radians into degrees</string>
|
||||
<string name="c_fun_category_trig">Trigonometric</string>
|
||||
<string name="c_fun_category_hyper_trig">Hyperbolic trigonometric</string>
|
||||
<string name="c_fun_category_comparison">Comparison</string>
|
||||
<string name="c_fun_category_common">Common</string>
|
||||
<string name="c_fun_category_my">My</string>
|
||||
</resources>
|
31
android-app/src/main/res/values/text_operators.xml
Normal file
31
android-app/src/main/res/values/text_operators.xml
Normal file
@@ -0,0 +1,31 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--Generated by crowdin.com-->
|
||||
<!--Generated by crowdin.net-->
|
||||
<resources>
|
||||
<string name="c_operators">Operators</string>
|
||||
<string name="c_op_description_mod">Modulo operation finds the remainder of division of \'x\' by \'y\'</string>
|
||||
<string name="c_op_description_sum">Sums functions \'f(i)\', iterating through \'i\' from \'from\' to \'to\'
|
||||
</string>
|
||||
<string name="c_op_description_product">Gives product of functions \'f(i)\', iterating through \'i\' from \'from\'
|
||||
to \'to\'
|
||||
</string>
|
||||
<string name="c_op_description_derivative">Gives derivative of order \'order\' (default = 1) of functions \'f(x)\'
|
||||
by \'x\' variable and calculates at point \'x_point\' (default = same as \'x\')
|
||||
</string>
|
||||
<string name="c_op_description_integral">Gives integral of function \'f(x)\' by \'x\' variable</string>
|
||||
<string name="c_op_description_integral_ab">Integrates function \'f(x)\' by \'x\' variable from \'a\' to \'b\'
|
||||
</string>
|
||||
<string name="c_pf_description_factorial">Gives the factorial of the previous expression</string>
|
||||
<string name="c_pf_description_double_factorial">Gives the double factorial of the previous expression</string>
|
||||
<string name="c_pf_description_percent" formatted="false">Gives the percent value of the expression
|
||||
before.\nExamples:\n
|
||||
100 + 50% = 150\n
|
||||
100 * 50% = 50\n
|
||||
100 + 100 * 50% * 50% = 125
|
||||
</string>
|
||||
<string name="c_pf_description_degree">Converts degrees to radians.\n
|
||||
Examples:\n
|
||||
268° = 4.67748\n
|
||||
30.21° = 0.52726
|
||||
</string>
|
||||
</resources>
|
22
android-app/src/main/res/values/text_preferences.xml
Normal file
22
android-app/src/main/res/values/text_preferences.xml
Normal file
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--Generated by crowdin.com-->
|
||||
<!--Generated by crowdin.net-->
|
||||
<resources>
|
||||
<string name="c_auto_orientation_title">Auto-rotate screen</string>
|
||||
<string name="c_auto_orientation_summary">If turned on app will rotate screen with device</string>
|
||||
<string name="c_show_equals_button_title">Show equals button</string>
|
||||
<string name="c_show_equals_button_summary">If turned on equals button is shown</string>
|
||||
<string name="c_hide_numeral_base_digits_title">Hide digits of other numeral systems</string>
|
||||
<string name="c_hide_numeral_base_digits_summary">If turned on numeral base digits of other numeral bases will be
|
||||
hidden
|
||||
</string>
|
||||
<string name="prefs_history_show_intermediate_calculations_title">Show intermediate calculations in history</string>
|
||||
<string name="prefs_history_show_intermediate_calculations_summary">If turned on all calculations will be shown in the
|
||||
history screen
|
||||
</string>
|
||||
<string name="p_calculations_calculate_on_fly_title">Result is calculated while typing</string>
|
||||
<string name="p_calculations_calculate_on_fly_summary">If turned on calculations are done automatically while typing</string>
|
||||
<string name="prefs_prevent_screen_from_fading_title">Prevent screen from fading</string>
|
||||
<string name="prefs_prevent_screen_from_fading_summary">If turned on screen will not fade while using the app
|
||||
</string>
|
||||
</resources>
|
306
android-app/src/main/res/values/text_release_notes.xml
Normal file
306
android-app/src/main/res/values/text_release_notes.xml
Normal file
@@ -0,0 +1,306 @@
|
||||
<!--
|
||||
~ 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
|
||||
-->
|
||||
|
||||
<resources>
|
||||
|
||||
<string name="c_release_notes_for_4_version" translatable="false">1.1.4</string>
|
||||
<string name="c_release_notes_for_4">
|
||||
1. Haptic feedback\n
|
||||
2. Two layouts: calculator and cellphone\n
|
||||
3. New constants\n
|
||||
4. ERROR message is not so often now
|
||||
</string>
|
||||
|
||||
<string name="c_release_notes_for_5_version" translatable="false">1.1.5</string>
|
||||
<string name="c_release_notes_for_5">
|
||||
1. Screen with all functions\n
|
||||
2. Added support for decimal logarithm, factorial, comparison functions\n
|
||||
3. Haptic feedback duration preference
|
||||
</string>
|
||||
|
||||
<string name="c_release_notes_for_6_version" translatable="false">1.1.6</string>
|
||||
<string name="c_release_notes_for_6">
|
||||
1. Saving constants in two clicks (use +π button)\n
|
||||
2. Result size is auto adjusted to fill all spare space\n
|
||||
3. Fix for Xperia Ray blank result\n
|
||||
4. Double factorial fix\n
|
||||
5. Degrees added (use °: e.g. 30° and result will be converted into radians)
|
||||
</string>
|
||||
|
||||
<string name="c_release_notes_for_7_version" translatable="false">1.1.7</string>
|
||||
<string name="c_release_notes_for_7">
|
||||
1. Support for entering numbers in scientific notation (2.3E2)\n
|
||||
2. Added functions: deg(), rad() to convert from radians to degrees and vice versa\n
|
||||
3. Added support for installing application on sd card\n
|
||||
4. Added possibility to save entire expression as constant (e.g. type ln(6t), press +π button, enter name and
|
||||
save)\n
|
||||
5. Fixed bug with abs() function and complex argument\n
|
||||
6. Fixed bug with displaying result
|
||||
</string>
|
||||
|
||||
<string name="c_release_notes_for_8_version" translatable="false">1.1.8</string>
|
||||
<string name="c_release_notes_for_8">
|
||||
1. Fixed bug with i^3\n
|
||||
2. Fixed crash in case of many brackets
|
||||
</string>
|
||||
|
||||
<string name="c_release_notes_for_9_version" translatable="false">1.1.9</string>
|
||||
<string name="c_release_notes_for_9" formatted="false">
|
||||
1. Percentage calculations.\n
|
||||
Examples:\n
|
||||
100+50%=150,\n
|
||||
100*50%=50,\n
|
||||
100+100*50%*50%=125,\n
|
||||
100+(100*50%*(25+25)%+100%)=150\n
|
||||
NOTE:\n
|
||||
100+(20+20)%=140, but 100+(20%+20%)=124.0\n
|
||||
100+50%^2=2600, but 100+50^2%=101.08
|
||||
</string>
|
||||
|
||||
<string name="c_release_notes_for_12_version" translatable="false">1.1.12</string>
|
||||
<string name="c_release_notes_for_12">
|
||||
1. Help screen added\n
|
||||
2. Support for differentiation, integration, calculation of sum and product.\n
|
||||
Examples:\n
|
||||
∂(cos(t),t)=-sin(t)\n
|
||||
2∂(tcos(t),t,2)=-4.469\n
|
||||
Σ(n/n!,n,1,20)=2.7182\n
|
||||
∫(1/x, x)=ln(x)\n
|
||||
∫ab(x, x, 0, 10)=50.0
|
||||
</string>
|
||||
|
||||
<string name="c_release_notes_for_13_version" translatable="false">1.1.13</string>
|
||||
<string name="c_release_notes_for_13">
|
||||
1. Fixed crashes\n
|
||||
2. Added variables on the main screen
|
||||
</string>
|
||||
|
||||
<string name="c_release_notes_for_14_version" translatable="false">1.1.14</string>
|
||||
<string name="c_release_notes_for_14">
|
||||
1. Support for different angle units: radians, degrees, gradians, turns\n
|
||||
2. Easy toggling between radians and degrees: use the toggle switch located on the 6 button\n
|
||||
3. Application is translated in Italian (thanks to Gabriele Ravanetti)\n
|
||||
4. Fixed bug with simplification of √(π^2)
|
||||
</string>
|
||||
|
||||
<string name="c_release_notes_for_15_version" translatable="false">1.1.15</string>
|
||||
<string name="c_release_notes_for_15">
|
||||
1. Added functions\' plotting: type expression which contains 1 undefined variable (e.g. cos(t)) and click on
|
||||
the result. In the context menu choose \'Plot graph\'. Supported features: zoom in/out, moving graph, plotting
|
||||
imaginary part
|
||||
</string>
|
||||
|
||||
<string name="c_release_notes_for_16_version" translatable="false">1.1.16</string>
|
||||
<string name="c_release_notes_for_16">
|
||||
1. Buttons swipe preference\n
|
||||
2. Added support for different numeral bases (currently supported: dec, bin, oct). Dec and bin can be chosen
|
||||
from main screen (CE button) and from app preferences\n
|
||||
3. Fixed √ simplification problem\n
|
||||
4. Performance improvements in functions\' plotting
|
||||
</string>
|
||||
|
||||
<string name="c_release_notes_for_20_version" translatable="false">1.2.20</string>
|
||||
<string name="c_release_notes_for_20">
|
||||
1. New swipe actions (left, right)\n
|
||||
2. Extended history: save, remove, copy, use from history screen (use long click for additional actions)\n
|
||||
3. Added Spanish language\n
|
||||
4. Full numeral base support (dec, hex, oct, bin)\n
|
||||
5. !!!: Fix for multiplication sign on some devices - if you have strange symbols instead of × - go to the
|
||||
settings and change multiplication sign to *\n
|
||||
6. Bug fixes: correct double factorial calculation, 20x fix, e^(pi*i)+1 fix and others
|
||||
</string>
|
||||
|
||||
<string name="c_release_notes_for_21_version" translatable="false">1.2.21</string>
|
||||
<string name="c_release_notes_for_21">
|
||||
1. Release notes screen added\n
|
||||
2. Added categories in functions and constants screens\n
|
||||
3. Additional actions are available for constants, functions and operators (long click on the item and choose
|
||||
from context menu)\n
|
||||
4. Logarithm function added - calculate logarithm of any base \n
|
||||
5. Back button preference\n
|
||||
6. Variant of π constant independent from angle units
|
||||
</string>
|
||||
|
||||
<string name="c_release_notes_for_22_version" translatable="false">1.2.22</string>
|
||||
<string name="c_release_notes_for_22">
|
||||
1. Fix for missing cursor in Android 3 and higher\n
|
||||
2. Fix for substituting 3.14... with Π constant
|
||||
</string>
|
||||
|
||||
<string name="c_release_notes_for_23_version" translatable="false">1.2.23</string>
|
||||
<string name="c_release_notes_for_23">
|
||||
1. Fix for calculating inverse trigonometric functions in complex field\n
|
||||
2. Removed time delay for calculation\n
|
||||
3. Fix the problem with 200 - 10% = π
|
||||
</string>
|
||||
|
||||
<string name="c_release_notes_for_24_version" translatable="false">1.2.24</string>
|
||||
<string name="c_release_notes_for_24">
|
||||
Note from developer\n\n
|
||||
Sorry to inform you but this version of application brings built-in ads.\n
|
||||
I haven\'t seen in Google Play calculator with similar capabilities and I don\'t think I will see it in the
|
||||
close future.\n
|
||||
But still I want to extend it\'s functionality and support already implemented. The thing is that I cannot do it
|
||||
anymore for free - it takes too much time and great efforts from me as
|
||||
application has become rather big and complex.\n
|
||||
If you want to support the project and remove the ads please purchase special option from application
|
||||
preferences,\n
|
||||
if you don\'t want to pay or can\'t do it - you still can thank the author of this program by email:
|
||||
se.solovyev@gmail.com, rate application with high mark in Google Play\n
|
||||
or help to translate the application to your native language.
|
||||
</string>
|
||||
|
||||
<string name="c_release_notes_for_25_version" translatable="false">1.2.25</string>
|
||||
<string name="c_release_notes_for_25">
|
||||
1. Integration of ln() and lg()\n
|
||||
2. Last opened tab is remembered now (history, variables etc)\n
|
||||
3. Remove option from context menu for variables\n
|
||||
4. 1/0 bug\n
|
||||
5. Gui defect for MIUI roms\n
|
||||
6. Double zero (00) key
|
||||
</string>
|
||||
|
||||
<string name="c_release_notes_for_26_version" translatable="false">1.2.26</string>
|
||||
<string name="c_release_notes_for_26">
|
||||
1. Integration of trigonometric functions is disabled for not radian angles\n
|
||||
2. Bug with 1/0 = -1/0 fixed\n
|
||||
3. Bug with ∫(sin(t°), t) fixed\n
|
||||
4. Other small fixes
|
||||
</string>
|
||||
|
||||
<string name="c_release_notes_for_27_version" translatable="false">1.2.27</string>
|
||||
<string name="c_release_notes_for_27">
|
||||
Note from developer:\n\n
|
||||
I\'m glad to inform you that I\'ve started a forum for Calculator++: http://facebook.com/calculatorpp.\n
|
||||
Here you can find latest information about application, check for known issues, submit bugs or suggest new
|
||||
features.\n
|
||||
You can use your social account to login (Facebook, Twitter or Google are supported).\n\n
|
||||
1. Zoom buttons on graph plotter\n
|
||||
2. Billing bug fixes\n
|
||||
3. Fixed bug with saving constants\n
|
||||
4. Android 4 GUI artifacts fixed (aka hardware acceleration problem)\n
|
||||
5. Other small fixes
|
||||
</string>
|
||||
|
||||
<string name="c_release_notes_for_29_version" translatable="false">1.2.28</string>
|
||||
<string name="c_release_notes_for_29">
|
||||
1. New Metro theme with 3 color variations (old themes are still available)\n
|
||||
2. Simple layout (Default layout is still scientific)\n
|
||||
3. Preferences screen changes\n
|
||||
4. Maximum calculation time preference added\n
|
||||
5. Always scientific notation option added\n
|
||||
6. Remove billing information option added\n
|
||||
7. Error label is substituted with greyed text\n
|
||||
8. Special layout for x-high density displays (aka Galaxy Note support)\n
|
||||
9. Sgn(0) problem fixed\n
|
||||
10. Billing problems fixes
|
||||
</string>
|
||||
|
||||
<string name="c_release_notes_for_34_version" translatable="false">1.2.31</string>
|
||||
<string name="c_release_notes_for_34">
|
||||
1. Ukrainian localization (Андрій Бандура)\n
|
||||
2. HEX digits are not shown in not HEX mode\n
|
||||
3. Preference for disabling display auto rotation\n
|
||||
4. Preference for hiding equals button\n
|
||||
5. Fixed plot problem\n
|
||||
6. Fixed E+ problem (HEX mode)\n
|
||||
7. π and Π are switched\n
|
||||
8. Conversion tool added (tap on display or choose from application menu)\n
|
||||
9. Wrong lg() integration and differentiation fixed
|
||||
</string>
|
||||
|
||||
<string name="c_release_notes_for_39_version" translatable="false">1.2.34</string>
|
||||
<string name="c_release_notes_for_39">
|
||||
1. Virtual keyboard are now not shown on Android 4 ICS\n
|
||||
2. Fast number conversion from display context menu\n
|
||||
3. Minor GUI fixes
|
||||
</string>
|
||||
|
||||
<string name="c_release_notes_for_93_version" translatable="false">1.4.0</string>
|
||||
<string name="c_release_notes_for_93">
|
||||
1. We are now on Facebook: facebook.com/calculatorpp\n
|
||||
2. Tablet support (new awesome UI)\n
|
||||
3. Improved graph plotter\n
|
||||
4. Intermediate calculations are not shown in the history anymore\n
|
||||
5. Faster UI response\n
|
||||
6. Crash reports handler\n
|
||||
7. Chinese translations
|
||||
</string>
|
||||
|
||||
<string name="c_release_notes_for_99_version" translatable="false">1.4.1</string>
|
||||
<string name="c_release_notes_for_99">
|
||||
1. UI improvements for 4-7 inches displays\n
|
||||
2. Ans variable (last calculated value)
|
||||
</string>
|
||||
|
||||
<string name="c_release_notes_for_103_version" translatable="false">1.4.2</string>
|
||||
<string name="c_release_notes_for_103">
|
||||
1. Calculator++ widget for home screen (works only if app installed in phone memory)\n
|
||||
2. Mobile phone layout for tablets (Preferences->Appearance Preferences->Layout->Scientific (Mobile))\n
|
||||
3. Manual calculations (Preferences->Calculations Preferences->Result is calculated…)
|
||||
</string>
|
||||
|
||||
<string name="c_release_notes_for_107_version" translatable="false">1.4.4</string>
|
||||
<string name="c_release_notes_for_107">
|
||||
1. Support for user-defined functions (see +f button or + button inside functions screen)\n
|
||||
2. Widget in different sizes: 3x3, 3x4, 4x4, 4x5\n
|
||||
3. Several functions added: re(x), im(x), √3(x), √4(x), √n(x, n)\n
|
||||
4. Default number systems/angle units + special warning dialog in case of calculations errors\n
|
||||
5. Performance improvements\n
|
||||
6. Text size in mobile layout for tablets fixed\n
|
||||
7. Bug fixes
|
||||
</string>
|
||||
|
||||
<string name="c_release_notes_for_111_version" translatable="false">1.5.1</string>
|
||||
<string name="c_release_notes_for_111">
|
||||
1. Calculator in separate window\n
|
||||
2. UI is fixed for some devices
|
||||
</string>
|
||||
|
||||
<string name="c_release_notes_for_112_version" translatable="false">1.5.2</string>
|
||||
<string name="c_release_notes_for_112">
|
||||
1. Possibility to remove icon for Calculator++ in separate window\n
|
||||
2. Fixed some crashes (editing, plotting)\n
|
||||
3. Fixed flicker for Calculator++ in separate window
|
||||
</string>
|
||||
|
||||
<string name="c_release_notes_for_115_version" translatable="false">1.6.2</string>
|
||||
<string name="c_release_notes_for_115">
|
||||
1. Graph plotter completely reworked\n
|
||||
2. Added support for graphing several functions\n
|
||||
3. Added 3D graphing capability\n
|
||||
4. Added support for graph screenshots\n
|
||||
5. Fixed issues with user defined functions\n
|
||||
6. Other fixes
|
||||
</string>
|
||||
|
||||
<string name="c_release_notes_for_118_version" translatable="false">2.0.0</string>
|
||||
<string name="c_release_notes_for_118">
|
||||
1. German and Polish translations\n
|
||||
2. Wizard\n
|
||||
3. Graph improvements\n
|
||||
4. Asin(i) problem fix\n
|
||||
5. Greek letters for variable names\n
|
||||
6. Other fixes
|
||||
</string>
|
||||
|
||||
</resources>
|
324
android-app/src/main/res/values/text_strings.xml
Normal file
324
android-app/src/main/res/values/text_strings.xml
Normal file
@@ -0,0 +1,324 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--Generated by crowdin.com-->
|
||||
<!--Generated by crowdin.net-->
|
||||
<resources>
|
||||
<string name="c_app_name">Calculator++</string>
|
||||
<string name="c_app_name_on_screen">Calculator++ (Window mode)</string>
|
||||
<string name="c_app_icon_name">Calc++</string>
|
||||
<string name="c_app_settings">Settings</string>
|
||||
<string name="c_syntax_error">Error</string>
|
||||
<string name="c_result_copied">Result has been copied to the clipboard!</string>
|
||||
<string name="c_settings">Settings</string>
|
||||
<string name="c_help">Help</string>
|
||||
<string name="c_vars_and_constants">Variables And Constants</string>
|
||||
<string name="c_prefs_main_category">Main settings</string>
|
||||
<string name="c_prefs_calculations_category">Calculation settings</string>
|
||||
<string name="c_prefs_appearance_category">Appearance settings</string>
|
||||
<string name="c_prefs_other_category">Other settings</string>
|
||||
<string name="c_prefs_drag_button_category">Drag buttons settings</string>
|
||||
<string name="c_down">Down</string>
|
||||
<string name="c_up">Up</string>
|
||||
<string name="c_restart">Restart</string>
|
||||
<string name="c_undo">undo</string>
|
||||
<string name="c_redo">redo</string>
|
||||
<string name="c_clear">C</string>
|
||||
<string name="c_paste">paste</string>
|
||||
<string name="c_vars">vars</string>
|
||||
<string name="c_copy">Copy</string>
|
||||
<string name="c_plot">Plot graph</string>
|
||||
<string name="c_graph">Graph</string>
|
||||
<string name="c_calc_color_display_title">Highlight expressions</string>
|
||||
<string name="c_calc_round_result_title">Round result</string>
|
||||
<string name="c_calc_round_result_summary">Toggles rounding of the result</string>
|
||||
<string name="c_calc_science_notation_title">Always scientific notation</string>
|
||||
<string name="c_calc_science_notation_summary">If turned on forces to use only scientific notation of output
|
||||
(12.34E-12)
|
||||
</string>
|
||||
<string name="p_calc_result_precision_title">Precision of result</string>
|
||||
<string name="p_calc_max_calculation_time_title">Maximum calculation time</string>
|
||||
<string name="p_calc_max_calculation_time_summary">If calculations exceed specified limit - calculator halts with
|
||||
error
|
||||
</string>
|
||||
<string name="c_exit">Exit</string>
|
||||
<string name="c_add">Add</string>
|
||||
<string name="c_cancel">Cancel</string>
|
||||
<string name="c_save">Save</string>
|
||||
<string name="c_remove">Remove</string>
|
||||
<string name="c_yes">Yes</string>
|
||||
<string name="c_no">No</string>
|
||||
<string name="removal_confirmation">Removal confirmation</string>
|
||||
<string name="c_var_removal_confirmation_question">Do you really want to delete \'%s\' variable?</string>
|
||||
<string name="c_var_name">Name</string>
|
||||
<string name="c_var_value">Value</string>
|
||||
<string name="c_var_description">Description</string>
|
||||
<string name="c_var_create_var">Create variable</string>
|
||||
<string name="c_var_edit_var">Edit variable</string>
|
||||
<string name="c_value_is_not_a_number">Value must be either a number or left empty: if you have parameters - create a
|
||||
function instead!
|
||||
</string>
|
||||
<string name="c_var_name_clashes">Variable name clashes with function name!</string>
|
||||
<string name="c_var_already_exists">Variable with the same name already exists!</string>
|
||||
<string name="c_name_is_not_valid">Name of the constant is not valid: name must start with letter, can contain letters,
|
||||
digits and underscore.
|
||||
</string>
|
||||
<string name="c_sys_var_cannot_be_changed">System variable cannot be changed!</string>
|
||||
<string name="c_calc_editor_hint">Enter new expression</string>
|
||||
<string name="c_press_to_copy">Press to copy</string>
|
||||
<string name="c_continue">Continue</string>
|
||||
<string name="c_history">History</string>
|
||||
<string name="c_history_button">M</string>
|
||||
<string name="c_history_is_empty">History is empty!</string>
|
||||
<string name="c_app_history">History</string>
|
||||
<string name="c_char_is_not_accepted">Character \'%s\' is not accepted in variable name!</string>
|
||||
<string name="c_calc_angle_units">Current angle units</string>
|
||||
<string name="p_deg">Degrees</string>
|
||||
<string name="p_rad">Radians</string>
|
||||
<string name="p_grad">Gradians</string>
|
||||
<string name="p_turns">Turns</string>
|
||||
<string name="c_angle_units_summary">Defines the units for angles to be used in calculations</string>
|
||||
<string name="c_calc_numeral_bases">Current numeral system</string>
|
||||
<string name="c_numeral_bases_summary">Defines the numeral system to be used in calculations</string>
|
||||
<string name="p_dec">Decimal</string>
|
||||
<string name="p_hex">Hexadecimal</string>
|
||||
<string name="p_oct">Octal</string>
|
||||
<string name="p_bin">Binary</string>
|
||||
<string name="c_calc_theme">Theme</string>
|
||||
<string name="p_default_theme">Grey</string>
|
||||
<string name="p_violet_theme">Violet</string>
|
||||
<string name="p_light_blue_theme">Light Blue</string>
|
||||
<string name="p_metro_blue_theme">Metro Blue (Default)</string>
|
||||
<string name="p_metro_green_theme">Metro Green</string>
|
||||
<string name="p_metro_purple_theme">Metro Purple</string>
|
||||
<string name="c_calc_result_precision_summary">Precision of the result value (all calculations are done with maximum
|
||||
precision regardless of the value of this option)
|
||||
</string>
|
||||
<string name="c_calc_color_display_summary">Toggles colouring and styling in the calculator editor</string>
|
||||
<string name="c_calc_theme_summary">Sets the theme for calculator</string>
|
||||
<string name="c_clear_history">Clear history</string>
|
||||
<string name="c_toggle_datetime">Show/hide date</string>
|
||||
<string name="c_simplify_instead_of_numeric">Next constants are undefined: {0}!</string>
|
||||
<string name="p_grouping_separator_no">No grouping separator</string>
|
||||
<string name="p_grouping_separator_apostrophe">Apostrophe (\')</string>
|
||||
<string name="p_grouping_separator_space">Space ( )</string>
|
||||
<string name="c_calc_grouping_separator">Grouping separator</string>
|
||||
<string name="c_calc_grouping_separator_summary">Sets grouping separator</string>
|
||||
<string name="c_calc_multiplication_sign">Multiplication sign</string>
|
||||
<string name="c_calc_multiplication_sign_summary">Sets multiplication sign</string>
|
||||
<string name="c_calc_layout">Layout</string>
|
||||
<string name="p_layout_cellphone">Scientific (cellphone)</string>
|
||||
<string name="p_layout_calculator">Scientific</string>
|
||||
<string name="p_layout_calculator_mobile">Scientific (Big buttons)</string>
|
||||
<string name="p_layout_simple">Simple</string>
|
||||
<string name="p_layout_simple_mobile">Simple (Big buttons)</string>
|
||||
<string name="c_calc_layout_summary">Sets layout of buttons</string>
|
||||
<string name="c_calc_haptic_feedback_title">Haptic feedback</string>
|
||||
<string name="c_calc_haptic_feedback_summary">Toggles vibration on button click</string>
|
||||
<string name="p_calc_haptic_feedback_strength_short">Short</string>
|
||||
<string name="p_calc_haptic_feedback_strength_middle">Middle</string>
|
||||
<string name="p_calc_haptic_feedback_strength_long">Long</string>
|
||||
<string name="p_calc_haptic_feedback_duration_title">Haptic feedback duration</string>
|
||||
<string name="p_calc_haptic_feedback_duration_summary">Duration vibration on button click</string>
|
||||
<string name="empty_var_error">Unable to create empty constant!</string>
|
||||
<string name="not_valid_result">Current result is not valid!</string>
|
||||
<string name="c_plot_graph">Graph</string>
|
||||
<string name="c_min_x_value">From</string>
|
||||
<string name="c_max_x_value">To</string>
|
||||
<string name="c_swipe_distance">Swipe distance for buttons</string>
|
||||
<string name="c_swipe_distance_summary">Sets swipe distance for buttons that supports additional swipe actions
|
||||
</string>
|
||||
<string name="c_comment">Comment</string>
|
||||
<string name="c_history_item_saved">Saved</string>
|
||||
<string name="c_history_item_not_saved">Not saved</string>
|
||||
<string name="c_expression_copied">Expression copied to the clipboard!</string>
|
||||
<string name="c_history_item_status">Status:</string>
|
||||
<string name="c_history_item_comment">Comment:</string>
|
||||
<string name="c_use">Use</string>
|
||||
<string name="c_use_short">Use</string>
|
||||
<string name="c_copy_expression">Copy expression</string>
|
||||
<string name="c_copy_result">Copy result</string>
|
||||
<string name="c_history_expression">Value</string>
|
||||
<string name="c_history_item_already_saved">Saved (see \'Saved history\' tab)</string>
|
||||
<string name="c_history_comment">Comment</string>
|
||||
<string name="c_save_history">Save history</string>
|
||||
<string name="c_edit_history">Modify history</string>
|
||||
<string name="c_edit">Modify</string>
|
||||
<string name="c_saved_history">Saved history</string>
|
||||
<string name="c_history_already_saved">History was already saved!</string>
|
||||
<string name="c_history_must_be_saved">History must be saved before editing!</string>
|
||||
<string name="c_history_was_removed">History has been successfully removed!</string>
|
||||
<string name="c_history_saved">History has been successfully saved!</string>
|
||||
<string name="c_copy_description">Copy description</string>
|
||||
<string name="c_copy_value">Copy value</string>
|
||||
<string name="c_first_start_text">Thank you for choosing Calculator++!\n\nCalculator++ is a powerful tool for making
|
||||
everyday calculations.
|
||||
</string>
|
||||
<string name="c_first_start_text_title">Welcome</string>
|
||||
<string name="c_calc_show_release_notes_title">Show release notes</string>
|
||||
<string name="c_calc_show_release_notes_summary">Defines if release notes popup window should appear after update to
|
||||
the new version
|
||||
</string>
|
||||
<string name="c_calc_use_back_button_as_prev_summary">Defines the behaviour of the Back button</string>
|
||||
<string name="c_calc_use_back_button_as_prev_title">Use Back button for previous history</string>
|
||||
<string name="c_clear_billing_info_summary">Purchase information will be reloaded from the server</string>
|
||||
<string name="c_clear_billing_info_title">Update purchase information</string>
|
||||
<string name="c_warning">Warning</string>
|
||||
<string name="c_error">Error</string>
|
||||
<string name="c_billing_error">Billing is not supported: you must have Google Checkout account linked to your Google
|
||||
account and must be connected to the internet.
|
||||
</string>
|
||||
<string name="c_calc_ad_free_title">Support the project</string>
|
||||
<string name="c_calc_ad_free_summary">And remove the advertisement</string>
|
||||
<string name="c_calc_already_purchased">Ad free option has been already purchased!</string>
|
||||
<string name="c_calc_purchasing">Purchasing…</string>
|
||||
<string name="c_calc_clearing">Clearing…</string>
|
||||
<string name="c_feedback_title">Feedback</string>
|
||||
<string name="c_feedback_text">You have been using Calculator++ for some time \n
|
||||
and it\'s important for us to know your opinion about application.\n\n
|
||||
Please rate Calculator++ \non<a href="https://market.android.com/details?id=org.solovyev.android.calculator">
|
||||
Google Play</a>,\n leave a comment or \ndiscuss the application \non
|
||||
<a href="http://facebook.com/calculatorpp">Facebook</a>
|
||||
</string>
|
||||
<string name="c_notespp_announce_text">Good news - I have just released a new application for Android called
|
||||
<a href="https://play.google.com/store/apps/details?id=org.solovyev.android.notes">Notes++</a>.\n
|
||||
If you\'re interested in a fast and easy way of making notes please follow the
|
||||
<a href="https://play.google.com/store/apps/details?id=org.solovyev.android.notes">link</a>
|
||||
and try Notes++!
|
||||
</string>
|
||||
<string name="c_angle_units_changed_to">Angle units have been changed to \'%s\'!</string>
|
||||
<string name="c_numeral_base_changed_to">Numeral base has been changed to \'%s\'!</string>
|
||||
<string name="c_conversion_tool">Conversion tool</string>
|
||||
<string name="c_convert">Convert to…</string>
|
||||
<string name="convert_to_hex">Convert to hex</string>
|
||||
<string name="convert_to_bin">Convert to bin</string>
|
||||
<string name="convert_to_dec">Convert to dec</string>
|
||||
<string name="editor">Editor</string>
|
||||
<string name="result">Result</string>
|
||||
<string name="other">Other</string>
|
||||
<string name="derivatives">Derivatives/Integrals</string>
|
||||
<string name="crashed">Calculator++ has crashed…</string>
|
||||
<string name="crash_dialog_title">Calculator++ crash report</string>
|
||||
<string name="crash_dialog_text"> Unfortunately, Calculator++ has crashed.\n\n
|
||||
In order to fix the problem we need some information about it. It\'s highly recommended to send a crash report via
|
||||
email (after pressing \'Ok\' button you will see all sent data in the new window).\n\n
|
||||
Do you want to send a crash report?
|
||||
</string>
|
||||
<string name="prefs_graph_screen_title">Graph settings</string>
|
||||
<string name="prefs_graph_interpolate_function">Interpolate function\'s graph</string>
|
||||
<string name="prefs_graph_interpolate_function_summary">If checked cubic interpolation will be used in function
|
||||
graph drawing
|
||||
</string>
|
||||
<string name="prefs_graph_real_color_title">Color of real part of functions graph</string>
|
||||
<string name="prefs_graph_real_color_summary">Sets color of real part functions graph</string>
|
||||
<string name="prefs_graph_imag_color_title">Color of imaginary part of functions graph</string>
|
||||
<string name="prefs_graph_imag_color_summary">Sets color of imaginary part functions graph</string>
|
||||
<string name="p_white_line_color">White</string>
|
||||
<string name="p_grey_line_color">Grey</string>
|
||||
<string name="p_red_line_color">Red</string>
|
||||
<string name="p_blue_line_color">Blue</string>
|
||||
<string name="p_green_line_color">Green</string>
|
||||
<string name="c_function_name">Name</string>
|
||||
<string name="c_function_value">Value</string>
|
||||
<string name="c_function_description">Description</string>
|
||||
<string name="c_function_parameters">Parameters</string>
|
||||
<string name="function_create_function">Create function</string>
|
||||
<string name="function_edit_function">Edit function</string>
|
||||
<string name="function_name_is_not_valid">Name of function is not valid: name must start with a letter, can contain
|
||||
letters, digits and underscore.
|
||||
</string>
|
||||
<string name="function_already_exists">Function with the same name already exists!</string>
|
||||
<string name="function_is_empty">Function body could not be empty!</string>
|
||||
<string name="function_param_not_empty">Function parameter should not be empty!</string>
|
||||
<string name="function_removal_confirmation_question">Do you really want to delete \'%s\' function?</string>
|
||||
<string name="empty_function_error">Unable to create empty function!</string>
|
||||
<string name="do_not_show_messages_in_session">Do not show this message until next session</string>
|
||||
<string name="calculation_messages_dialog_title">Calculator++ warning</string>
|
||||
<string name="arithmetic_error_while_plot">Arithmetic error occurred while plotting: %s</string>
|
||||
<string name="ok">OK</string>
|
||||
<string name="p_show_calculation_messages_dialog_title">Show calculation messages in dialog</string>
|
||||
<string name="p_show_calculation_messages_dialog_summary">If turned on if any message occurred while calculations
|
||||
special dialog will be shown
|
||||
</string>
|
||||
<string name="fix">Fix</string>
|
||||
<string name="p_preferred_numeral_base_title">Default numeral system</string>
|
||||
<string name="p_preferred_numeral_base_summary">Defines the default numeral system</string>
|
||||
<string name="preferred_numeral_base_message">Default numeral system \'%1$s\' differs from current \'%2$s\'. Forgot
|
||||
to change back?
|
||||
</string>
|
||||
<string name="p_preferred_angle_units_title">Default angle units</string>
|
||||
<string name="p_preferred_angle_units_summary">Defines the default angle units</string>
|
||||
<string name="preferred_angle_units_message">Default angle units \'%1$s\' differs from current \'%2$s\'. Forgot to
|
||||
change back?
|
||||
</string>
|
||||
<string name="close">Close</string>
|
||||
<string name="c_app_widget_3x3_name">Calculator++ Widget (3x3)</string>
|
||||
<string name="c_app_widget_3x4_name">Calculator++ Widget (3x4)</string>
|
||||
<string name="c_app_widget_4x4_name">Calculator++ Widget (4x4)</string>
|
||||
<string name="c_app_widget_4x5_name">Calculator++ Widget (4x5)</string>
|
||||
<string name="open_onscreen_calculator">Click to open calculator in window mode</string>
|
||||
<string name="prefs_onscreen_title">Calculator (in separate window) settings</string>
|
||||
<string name="prefs_onscreen_start_on_boot_title">Start on boot</string>
|
||||
<string name="prefs_onscreen_start_on_boot_summary">If turned on Calculator++ will appear in notification bar after
|
||||
device boot
|
||||
</string>
|
||||
<string name="prefs_onscreen_show_app_icon_title">Show separate icon (require reboot)</string>
|
||||
<string name="prefs_onscreen_show_app_icon_summary">If turned on second icon will be shown in applications\' list
|
||||
</string>
|
||||
<string name="cpp_onscreen_remove_icon_message">You can remove second icon in applications\' list from application
|
||||
settings or by pressing the next button
|
||||
</string>
|
||||
<string name="cpp_this_change_may_require_reboot">This change may require reboot</string>
|
||||
<string name="cpp_plot_2d">2D plot</string>
|
||||
<string name="cpp_plot_3d">3D plot</string>
|
||||
<string name="cpp_plot_functions">Graph functions</string>
|
||||
<string name="cpp_prefs_graph_plot_imag_title">Plot imaginary part of function</string>
|
||||
<string name="cpp_prefs_graph_plot_imag_summary">If checked imaginary part of function will be plotted</string>
|
||||
<string name="cpp_monochrome_line_color_type">Monochrome</string>
|
||||
<string name="cpp_color_map_line_color_type">Color map (only 3D)</string>
|
||||
<string name="cpp_solid_line_style">Solid (-----)</string>
|
||||
<string name="cpp_dashed_line_style">Dashed (- - -)</string>
|
||||
<string name="cpp_dotted_line_style">Dotted (. . .)</string>
|
||||
<string name="cpp_dash_dotted_line_style">Dot-dashed (-.-.-)</string>
|
||||
<string name="cpp_plotter">Function plotter</string>
|
||||
<string name="cpp_plot_screenshot">Capture screenshot</string>
|
||||
<string name="cpp_plot_screenshot_saved">Screenshot has been successfully saved: %1$s!</string>
|
||||
<string name="cpp_plot_unable_to_save_screenshot">Screenshot cannot be saved as SD card is not mounted. Mount SD
|
||||
card and try again!
|
||||
</string>
|
||||
<string name="cpp_plot_function_line_color_type">Line color type</string>
|
||||
<string name="cpp_plot_function_line_color">Line color</string>
|
||||
<string name="cpp_plot_function_line_style">Line style</string>
|
||||
<string name="cpp_plot_function_line_width">Line width</string>
|
||||
<string name="cpp_plot_function_settings">Function settings</string>
|
||||
<string name="cpp_function">Function</string>
|
||||
<string name="cpp_pinned">Pinned</string>
|
||||
<string name="cpp_visible">Visible</string>
|
||||
<string name="cpp_plot_button_text">+plot</string>
|
||||
<string name="cpp_plot_empty_function_error">Unable to plot empty function!</string>
|
||||
<string name="cpp_plot_too_many_variables">Unable to plot: too many variables!</string>
|
||||
<string name="cpp_plot_range">Graph range</string>
|
||||
<string name="cpp_fullscreen">Fullscreen</string>
|
||||
<string name="cpp_plot_range_x_min">X Min</string>
|
||||
<string name="cpp_plot_range_x_max">X Max</string>
|
||||
<string name="cpp_plot_range_y_min">Y Min</string>
|
||||
<string name="cpp_plot_range_y_max">Y Max</string>
|
||||
<string name="cpp_invalid_number">Invalid number!</string>
|
||||
<string name="cpp_plot_boundaries_should_differ">Graph boundaries should not be the same!</string>
|
||||
<string name="cpp_apply">Apply</string>
|
||||
<string name="cpp_message">Message</string>
|
||||
<string name="cpp_continue">Continue</string>
|
||||
<string name="cpp_purchase_text">Supporting the project is easy and secure: purchase process is provided by Google
|
||||
and all you need is a properly configured Google account.\n\n
|
||||
Payment information is stored in Google servers with your Google account and you can easily use this application on
|
||||
several devices.\n\n
|
||||
By clicking \'Continue\' button you will be redirected to the Google Play app to make the payment.
|
||||
</string>
|
||||
<string name="cpp_purchase_title">Purchase</string>
|
||||
<string name="cpp_purchase_thank_you_text">Thank you for supporting this application!\n\n It might take several
|
||||
minutes until the app will be informed about the purchase. You can always check the information about the purchase in
|
||||
your Google Account.\n
|
||||
If you have any problems or questions feel free to contact me directly (contacts are available in
|
||||
Main->Menu->About)
|
||||
</string>
|
||||
<string name="cpp_var_show_greek_keyboard">Show Greek letters</string>
|
||||
<string name="cpp_var_hide_greek_keyboard">Hide Greek letters</string>
|
||||
</resources>
|
27
android-app/src/main/res/values/text_vars.xml
Normal file
27
android-app/src/main/res/values/text_vars.xml
Normal file
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--Generated by crowdin.com-->
|
||||
<!--Generated by crowdin.net-->
|
||||
<resources>
|
||||
<string name="c_var_description_PI">Ratio of any circle\'s circumference to its diameter. Note: this constant is
|
||||
degree unit dependent => rad: 3.14, deg: 180.0
|
||||
</string>
|
||||
<string name="c_var_description_pi">Ratio of any circle\'s circumference to its diameter. Note: this constant is
|
||||
degree unit independent => rad: 3.14, deg: 3.14
|
||||
</string>
|
||||
<string name="c_var_description_e">Unique real number such that the value of the derivative (slope of the tangent
|
||||
line) of the function f(x) = e^x at the point x = 0 is equal to 1
|
||||
</string>
|
||||
<string name="c_var_description_i">Imaginary unit, defined such as i^2 = −1</string>
|
||||
<string name="c_var_description_c">Speed of the light in vacuum, m·s</string>
|
||||
<string name="c_var_description_G">The gravitational constant is an empirical physical constant involved in the
|
||||
calculation of the gravitational attraction between objects with mass, m^3·kg^−1·s^−2
|
||||
</string>
|
||||
<string name="c_var_description_h">Physical constant reflecting the sizes of energy quanta in quantum mechanics,
|
||||
J·s
|
||||
</string>
|
||||
<string name="c_var_description_h_reduced">Reduced Planck constant, J·s</string>
|
||||
<string name="c_var_description_nan">Not a number</string>
|
||||
<string name="c_var_description_inf">Infinity</string>
|
||||
<string name="c_var_system">Built-in</string>
|
||||
<string name="c_var_my">My</string>
|
||||
</resources>
|
51
android-app/src/main/res/values/text_wizard.xml
Normal file
51
android-app/src/main/res/values/text_wizard.xml
Normal file
@@ -0,0 +1,51 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--Generated by crowdin.com-->
|
||||
<!--Generated by crowdin.net-->
|
||||
<resources>
|
||||
<string name="cpp_wizard_next">Next</string>
|
||||
<string name="cpp_wizard_back">Back</string>
|
||||
<string name="cpp_wizard_finish">Finish</string>
|
||||
<string name="cpp_wizard_start">Start wizard</string>
|
||||
<string name="cpp_wizard_layout_optimized">Optimized</string>
|
||||
<string name="cpp_wizard_layout_big_buttons">Big buttons</string>
|
||||
<string name="cpp_wizard_mode_simple">Simple</string>
|
||||
<string name="cpp_wizard_mode_simple_description">In simple mode only basic functionality will be available from the
|
||||
main screen.
|
||||
Result is rounded up to 5 digits, degrees are used as the default angle units.
|
||||
</string>
|
||||
<string name="cpp_wizard_mode_engineer">Engineer</string>
|
||||
<string name="cpp_wizard_mode_engineer_description">In engineer mode special functions will be used on the main
|
||||
screen.
|
||||
Result is not rounded and is presented in engineer notation, radians are used as the default angle units.
|
||||
</string>
|
||||
<string name="cpp_restart_wizard">Start wizard</string>
|
||||
<string name="cpp_wizard_dragbutton_action_end">Excellent! Tap the button one more time to try again</string>
|
||||
<string name="cpp_wizard_dragbutton_action_center">Tap the button below once to use 9</string>
|
||||
<string name="cpp_wizard_dragbutton_action_up">Drag from the center of the button up to use %</string>
|
||||
<string name="cpp_wizard_dragbutton_action_left">Drag from the center of the button to the left to use sin</string>
|
||||
<string name="cpp_wizard_dragbutton_action_down">Drag from the center of the button down to use ^2</string>
|
||||
<string name="cpp_wizard_welcome_title">Welcome</string>
|
||||
<string name="cpp_wizard_layout_title">Choose layout</string>
|
||||
<string name="cpp_wizard_mode_title">Choose mode</string>
|
||||
<string name="cpp_wizard_onscreen_calculator_title">Calculator in a separate window</string>
|
||||
<string name="cpp_wizard_dragbutton_title">Drag button basics</string>
|
||||
<string name="cpp_wizard_final_title">Almost done!</string>
|
||||
<string name="cpp_wizard_final_free_and_opensource">Calculator++ is free and open-source: all the features are free
|
||||
of charge and source code can be found on github.
|
||||
</string>
|
||||
<string name="cpp_wizard_final_ways_to_help">There are several ways how you can help to make this app better:
|
||||
</string>
|
||||
<string name="cpp_wizard_final_donate">Donating money</string>
|
||||
<string name="cpp_wizard_final_translate">Translating</string>
|
||||
<string name="cpp_wizard_final_contribute">Contributing source code</string>
|
||||
<string name="cpp_wizard_onscreen_description">Calculator in separate window allows you to do calculations while
|
||||
using other apps on your device
|
||||
</string>
|
||||
<string name="cpp_wizard_onscreen_checkbox">Enable calculator in separate window (second icon will appear in the
|
||||
apps list)
|
||||
</string>
|
||||
<string name="cpp_wizard_dragbutton_description">Drag button is an exclusive feature of Calculator++ which provides
|
||||
fast access to the secondary functions
|
||||
</string>
|
||||
<string name="cpp_wizard_finish_confirmation">Do you really want to finish wizard?</string>
|
||||
</resources>
|
209
android-app/src/main/res/values/theme_gray.xml
Normal file
209
android-app/src/main/res/values/theme_gray.xml
Normal file
@@ -0,0 +1,209 @@
|
||||
<?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
|
||||
-->
|
||||
|
||||
<resources>
|
||||
|
||||
<style name="cpp_default_digit_button_style" parent="cpp_keyboard_button_style">
|
||||
<item name="android:background">@drawable/gray_button</item>
|
||||
</style>
|
||||
|
||||
<style name="cpp_default_dialog_style">
|
||||
<item name="android:padding">6dp</item>
|
||||
<item name="android:minWidth">200dp</item>
|
||||
<item name="android:layout_width">match_parent</item>
|
||||
<item name="android:layout_height">wrap_content</item>
|
||||
<item name="android:orientation">vertical</item>
|
||||
<item name="android:layout_gravity">center_horizontal</item>
|
||||
</style>
|
||||
|
||||
<style name="cpp_default_control_button_style" parent="cpp_keyboard_button_style">
|
||||
<item name="android:background">@drawable/gray_button_dark</item>
|
||||
</style>
|
||||
|
||||
<style name="cpp_default_operation_button_style" parent="cpp_default_digit_button_style">
|
||||
<item name="android:textColor">@color/cpp_button_operator_text_color</item>
|
||||
</style>
|
||||
|
||||
<style name="cpp_default_control_image_button_style" parent="cpp_default_control_button_style">
|
||||
<item name="android:padding">6dp</item>
|
||||
</style>
|
||||
|
||||
<style name="cpp_default_fragment_list_view_item_style">
|
||||
<item name="android:layout_height">wrap_content</item>
|
||||
<item name="android:layout_width">match_parent</item>
|
||||
<item name="android:minHeight">50dp</item>
|
||||
<item name="android:gravity">center_vertical|left</item>
|
||||
</style>
|
||||
|
||||
<style name="cpp_default_fragment_list_view_style">
|
||||
<item name="android:id">@android:id/list</item>
|
||||
<item name="android:dividerHeight">1dp</item>
|
||||
<item name="android:divider">@color/cpp_list_divider</item>
|
||||
<item name="android:cacheColorHint">@android:color/transparent</item>
|
||||
<item name="android:layout_height">match_parent</item>
|
||||
<item name="android:layout_width">match_parent</item>
|
||||
<item name="android:layout_weight">1</item>
|
||||
<item name="android:fadingEdge">none</item>
|
||||
<item name="android:paddingLeft">@dimen/cpp_pane_padding</item>
|
||||
<item name="android:paddingRight">@dimen/cpp_pane_padding</item>
|
||||
<item name="android:layout_marginBottom">@dimen/cpp_pane_padding</item>
|
||||
</style>
|
||||
|
||||
<style name="cpp_default_fragment_title_style">
|
||||
<item name="android:textColor">@android:color/white</item>
|
||||
<item name="android:textSize">@dimen/cpp_fragment_title_text_size</item>
|
||||
</style>
|
||||
|
||||
<style name="cpp_default_button_style" parent="cpp_button_style">
|
||||
<item name="android:paddingTop">5dp</item>
|
||||
<item name="android:paddingBottom">5dp</item>
|
||||
<item name="android:paddingLeft">10dp</item>
|
||||
<item name="android:paddingRight">10dp</item>
|
||||
</style>
|
||||
|
||||
<style name="cpp_default_pane_style_transparent" parent="cpp_default_pane_style">
|
||||
<item name="android:background">@android:color/transparent</item>
|
||||
<item name="android:padding">0dp</item>
|
||||
</style>
|
||||
|
||||
<style name="cpp_default_pane_style">
|
||||
<item name="android:layout_marginLeft">@dimen/cpp_pane_margin</item>
|
||||
<item name="android:layout_marginTop">@dimen/cpp_pane_margin</item>
|
||||
<item name="android:padding">@dimen/cpp_pane_padding</item>
|
||||
<item name="android:background">@drawable/pane_background</item>
|
||||
</style>
|
||||
|
||||
<style name="cpp_default_main_multi_pane_layout_style" parent="cpp_default_main_layout_style">
|
||||
<item name="android:paddingRight">@dimen/cpp_pane_padding</item>
|
||||
<item name="android:paddingBottom">@dimen/cpp_pane_padding</item>
|
||||
</style>
|
||||
|
||||
<style name="cpp_default_fragment_multi_pane_layout_style" parent="cpp_default_fragment_layout_style"></style>
|
||||
|
||||
<style name="cpp_default_fragment_layout_style">
|
||||
<item name="android:layout_margin">0dp</item>
|
||||
<item name="android:padding">0dp</item>
|
||||
<item name="android:orientation">vertical</item>
|
||||
</style>
|
||||
|
||||
<style name="cpp_default_main_layout_style">
|
||||
<item name="android:baselineAligned">false</item>
|
||||
<item name="android:layout_height">match_parent</item>
|
||||
<item name="android:layout_width">match_parent</item>
|
||||
</style>
|
||||
|
||||
<style name="cpp_default_actionbar_style" parent="@style/Widget.Sherlock.ActionBar">
|
||||
<item name="background">@drawable/default_abs__ab_transparent_dark_holo</item>
|
||||
<item name="android:background">@drawable/default_abs__ab_transparent_dark_holo</item>
|
||||
</style>
|
||||
|
||||
<style name="cpp_default_actionbar_tab_style" parent="@style/Widget.Sherlock.ActionBar.TabView">
|
||||
<item name="background">@drawable/default_abs__tab_indicator_ab_holo</item>
|
||||
<item name="android:background">@drawable/default_abs__tab_indicator_ab_holo</item>
|
||||
</style>
|
||||
|
||||
<style name="cpp_default_actionbar_close_button_style" parent="@style/Widget.Sherlock.ActionButton.CloseMode">
|
||||
<item name="android:background">@drawable/default_abs__btn_cab_done_holo_dark</item>
|
||||
<item name="background">@drawable/default_abs__btn_cab_done_holo_dark</item>
|
||||
</style>
|
||||
|
||||
<style name="cpp_default_actionbar_dropdown_style" parent="@style/Widget.Sherlock.Spinner.DropDown.ActionBar">
|
||||
<item name="android:background">@drawable/default_abs__spinner_ab_holo_dark</item>
|
||||
<item name="background">@drawable/default_abs__spinner_ab_holo_dark</item>
|
||||
</style>
|
||||
|
||||
<style name="cpp_default_actionbar_dropdown_listview_style" parent="@style/Widget.Sherlock.ListView.DropDown">
|
||||
<item name="android:listSelector">@drawable/default_abs__list_selector_holo_dark</item>
|
||||
<!--<item name="listSelector">@drawable/default_abs__list_selector_holo_dark</item>-->
|
||||
</style>
|
||||
|
||||
<style name="cpp_gray_theme" parent="Theme.Sherlock">
|
||||
<item name="android:windowBackground">@color/cpp_default_background</item>
|
||||
|
||||
<!-- buttons -->
|
||||
<item name="cpp_digit_button_style">@style/cpp_default_digit_button_style</item>
|
||||
<item name="cpp_control_button_style">@style/cpp_default_control_button_style</item>
|
||||
<item name="cpp_control_image_button_style">@style/cpp_default_control_image_button_style</item>
|
||||
<item name="cpp_operation_button_style">@style/cpp_default_operation_button_style</item>
|
||||
|
||||
<!-- other -->
|
||||
<item name="cpp_fragment_title_style">@style/cpp_default_fragment_title_style</item>
|
||||
<item name="cpp_fragment_list_view_style">@style/cpp_default_fragment_list_view_style</item>
|
||||
<item name="cpp_fragment_list_view_item_style">@style/cpp_default_fragment_list_view_item_style</item>
|
||||
<item name="cpp_button_style">@style/cpp_default_button_style</item>
|
||||
|
||||
<item name="cpp_main_layout_style">@style/cpp_default_main_layout_style</item>
|
||||
<item name="cpp_main_multi_pane_layout_style">@style/cpp_default_main_multi_pane_layout_style</item>
|
||||
|
||||
<item name="cpp_fragment_layout_style">@style/cpp_default_fragment_layout_style</item>
|
||||
|
||||
<item name="cpp_dialog_style">@style/cpp_default_dialog_style</item>
|
||||
|
||||
<item name="cpp_pane_style">@style/cpp_default_pane_style</item>
|
||||
<item name="cpp_pane_style_transparent">@style/cpp_default_pane_style_transparent</item>
|
||||
|
||||
<!-- action bar-->
|
||||
<item name="actionBarTabStyle">@style/cpp_default_actionbar_tab_style</item>
|
||||
<item name="android:actionBarTabStyle">@style/cpp_default_actionbar_tab_style</item>
|
||||
|
||||
<item name="actionBarStyle">@style/cpp_default_actionbar_style</item>
|
||||
<item name="android:actionBarStyle">@style/cpp_default_actionbar_style</item>
|
||||
|
||||
<item name="actionModeCloseButtonStyle">@style/cpp_default_actionbar_close_button_style</item>
|
||||
<item name="android:actionModeCloseButtonStyle">@style/cpp_default_actionbar_close_button_style</item>
|
||||
|
||||
<item name="actionBarItemBackground">@drawable/default_abs__item_background_holo_dark</item>
|
||||
<item name="android:actionBarItemBackground">@drawable/default_abs__item_background_holo_dark</item>
|
||||
|
||||
<item name="actionDropDownStyle">@style/cpp_default_actionbar_dropdown_style</item>
|
||||
<item name="android:actionDropDownStyle">@style/cpp_default_actionbar_dropdown_style</item>
|
||||
|
||||
<item name="dropDownListViewStyle">@style/cpp_default_actionbar_dropdown_listview_style</item>
|
||||
<item name="android:dropDownListViewStyle">@style/cpp_default_actionbar_dropdown_listview_style</item>
|
||||
</style>
|
||||
|
||||
<style name="cpp_gray_dialog_theme" parent="@android:style/Theme.Dialog">
|
||||
<item name="android:windowCloseOnTouchOutside">false</item>
|
||||
<!-- buttons -->
|
||||
<item name="cpp_digit_button_style">@style/cpp_default_digit_button_style</item>
|
||||
<item name="cpp_control_button_style">@style/cpp_default_control_button_style</item>
|
||||
<item name="cpp_control_image_button_style">@style/cpp_default_control_image_button_style</item>
|
||||
<item name="cpp_operation_button_style">@style/cpp_default_operation_button_style</item>
|
||||
|
||||
<!-- other -->
|
||||
<item name="cpp_fragment_title_style">@style/cpp_default_fragment_title_style</item>
|
||||
<item name="cpp_fragment_list_view_style">@style/cpp_default_fragment_list_view_style</item>
|
||||
<item name="cpp_fragment_list_view_item_style">@style/cpp_default_fragment_list_view_item_style</item>
|
||||
<item name="cpp_button_style">@style/cpp_default_button_style</item>
|
||||
|
||||
<item name="cpp_main_layout_style">@style/cpp_default_main_layout_style</item>
|
||||
<item name="cpp_main_multi_pane_layout_style">@style/cpp_default_main_multi_pane_layout_style</item>
|
||||
|
||||
<item name="cpp_fragment_layout_style">@style/cpp_default_fragment_layout_style</item>
|
||||
|
||||
<item name="cpp_dialog_style">@style/cpp_default_dialog_style</item>
|
||||
|
||||
<item name="cpp_pane_style">@style/cpp_default_pane_style</item>
|
||||
<item name="cpp_pane_style_transparent">@style/cpp_default_pane_style_transparent</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
48
android-app/src/main/res/values/theme_light_blue.xml
Normal file
48
android-app/src/main/res/values/theme_light_blue.xml
Normal file
@@ -0,0 +1,48 @@
|
||||
<?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
|
||||
-->
|
||||
|
||||
<resources>
|
||||
|
||||
<style name="light_blue_digit_button_style" parent="cpp_keyboard_button_style">
|
||||
<item name="android:background">@drawable/blue_button</item>
|
||||
</style>
|
||||
|
||||
<style name="light_blue_control_button_style" parent="cpp_keyboard_button_style">
|
||||
<item name="android:background">@drawable/blue_button_dark</item>
|
||||
</style>
|
||||
|
||||
<style name="light_blue_operation_button_style" parent="light_blue_digit_button_style">
|
||||
<item name="android:textColor">@color/cpp_button_operator_text_color</item>
|
||||
</style>
|
||||
|
||||
<style name="light_blue_control_image_button_style" parent="light_blue_control_button_style">
|
||||
<item name="android:padding">6dp</item>
|
||||
</style>
|
||||
|
||||
<style name="cpp_light_blue_theme" parent="cpp_gray_theme">
|
||||
<item name="cpp_digit_button_style">@style/light_blue_digit_button_style</item>
|
||||
<item name="cpp_control_button_style">@style/light_blue_control_button_style</item>
|
||||
<item name="cpp_control_image_button_style">@style/light_blue_control_image_button_style</item>
|
||||
<item name="cpp_operation_button_style">@style/light_blue_operation_button_style</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
89
android-app/src/main/res/values/theme_metro_blue.xml
Normal file
89
android-app/src/main/res/values/theme_metro_blue.xml
Normal file
@@ -0,0 +1,89 @@
|
||||
<!--
|
||||
~ 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
|
||||
-->
|
||||
|
||||
<resources>
|
||||
|
||||
<style name="metro_digit_button_style" parent="cpp_keyboard_button_style">
|
||||
<item name="android:background">@drawable/metro_button_dark</item>
|
||||
</style>
|
||||
|
||||
<style name="metro_control_button_style" parent="metro_digit_button_style">
|
||||
<item name="android:background">@drawable/metro_button_light</item>
|
||||
</style>
|
||||
|
||||
<style name="onscreen_header_button_style" parent="metro_control_button_style">
|
||||
<item name="android:layout_width">30dp</item>
|
||||
<item name="android:layout_height">30dp</item>
|
||||
<item name="android:layout_weight">0</item>
|
||||
<item name="android:padding">0dp</item>
|
||||
<item name="android:textSize">@dimen/cpp_onscreen_header_button_text_size</item>
|
||||
</style>
|
||||
|
||||
|
||||
<style name="metro_blue_operation_button_style" parent="metro_digit_button_style">
|
||||
<item name="android:background">@drawable/metro_blue_button</item>
|
||||
</style>
|
||||
|
||||
<style name="metro_control_image_button_style" parent="metro_control_button_style">
|
||||
<item name="android:padding">6dp</item>
|
||||
</style>
|
||||
|
||||
<style name="metro_blue_fragment_list_view_item_style" parent="cpp_default_fragment_list_view_item_style">
|
||||
<item name="background">@drawable/metro_blue_list_item</item>
|
||||
<item name="android:background">@drawable/metro_blue_list_item</item>
|
||||
</style>
|
||||
|
||||
<style name="metro_blue_actionbar_style" parent="@style/Widget.Sherlock.ActionBar">
|
||||
<item name="background">@drawable/metro_blue_abs__ab_transparent_dark_holo</item>
|
||||
<item name="android:background">@drawable/metro_blue_abs__ab_transparent_dark_holo</item>
|
||||
</style>
|
||||
|
||||
<style name="metro_blue_actionbar_tab_style" parent="cpp_default_actionbar_tab_style">
|
||||
<item name="background">@drawable/metro_blue_abs__tab_indicator_ab_holo</item>
|
||||
<item name="android:background">@drawable/metro_blue_abs__tab_indicator_ab_holo</item>
|
||||
</style>
|
||||
|
||||
<style name="cpp_metro_blue_theme" parent="cpp_gray_theme">
|
||||
<item name="cpp_digit_button_style">@style/metro_digit_button_style</item>
|
||||
<item name="cpp_control_button_style">@style/metro_control_button_style</item>
|
||||
<item name="cpp_control_image_button_style">@style/metro_control_image_button_style</item>
|
||||
<item name="cpp_operation_button_style">@style/metro_blue_operation_button_style</item>
|
||||
|
||||
<item name="cpp_fragment_list_view_item_style">@style/metro_blue_fragment_list_view_item_style</item>
|
||||
|
||||
<!--action bar-->
|
||||
<!-- <item name="actionBarTabStyle">@style/metro_blue_actionbar_tab_style</item>
|
||||
<item name="android:actionBarTabStyle">@style/metro_blue_actionbar_tab_style</item>
|
||||
<item name="actionBarStyle">@style/metro_blue_actionbar_style</item>
|
||||
<item name="android:actionBarStyle">@style/metro_blue_actionbar_style</item>-->
|
||||
</style>
|
||||
|
||||
<style name="cpp_metro_blue_dialog_theme" parent="cpp_gray_dialog_theme">
|
||||
<item name="cpp_digit_button_style">@style/metro_digit_button_style</item>
|
||||
<item name="cpp_control_button_style">@style/metro_control_button_style</item>
|
||||
<item name="cpp_control_image_button_style">@style/metro_control_image_button_style</item>
|
||||
<item name="cpp_operation_button_style">@style/metro_blue_operation_button_style</item>
|
||||
|
||||
<item name="cpp_fragment_list_view_item_style">@style/metro_blue_fragment_list_view_item_style</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
39
android-app/src/main/res/values/theme_metro_green.xml
Normal file
39
android-app/src/main/res/values/theme_metro_green.xml
Normal file
@@ -0,0 +1,39 @@
|
||||
<!--
|
||||
~ 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
|
||||
-->
|
||||
|
||||
<resources>
|
||||
|
||||
<style name="metro_green_operation_button_style" parent="metro_digit_button_style">
|
||||
<item name="android:background">@drawable/metro_button_green</item>
|
||||
</style>
|
||||
|
||||
<style name="metro_green_fragment_list_view_item_style" parent="cpp_default_fragment_list_view_item_style">
|
||||
<item name="background">@drawable/metro_green_list_item</item>
|
||||
<item name="android:background">@drawable/metro_green_list_item</item>
|
||||
</style>
|
||||
|
||||
<style name="cpp_metro_green_theme" parent="cpp_metro_blue_theme">
|
||||
<item name="cpp_operation_button_style">@style/metro_green_operation_button_style</item>
|
||||
<item name="cpp_fragment_list_view_item_style">@style/metro_green_fragment_list_view_item_style</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
40
android-app/src/main/res/values/theme_metro_purple.xml
Normal file
40
android-app/src/main/res/values/theme_metro_purple.xml
Normal file
@@ -0,0 +1,40 @@
|
||||
<!--
|
||||
~ 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
|
||||
-->
|
||||
|
||||
<resources>
|
||||
|
||||
<style name="metro_purple_operation_button_style" parent="metro_digit_button_style">
|
||||
<item name="android:background">@drawable/metro_button_purple</item>
|
||||
</style>
|
||||
|
||||
|
||||
<style name="metro_purple_fragment_list_view_item_style" parent="cpp_default_fragment_list_view_item_style">
|
||||
<item name="background">@drawable/metro_purple_list_item</item>
|
||||
<item name="android:background">@drawable/metro_purple_list_item</item>
|
||||
</style>
|
||||
|
||||
<style name="cpp_metro_purple_theme" parent="cpp_metro_blue_theme">
|
||||
<item name="cpp_operation_button_style">@style/metro_purple_operation_button_style</item>
|
||||
<item name="cpp_fragment_list_view_item_style">@style/metro_purple_fragment_list_view_item_style</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
47
android-app/src/main/res/values/theme_violet.xml
Normal file
47
android-app/src/main/res/values/theme_violet.xml
Normal file
@@ -0,0 +1,47 @@
|
||||
<?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
|
||||
-->
|
||||
|
||||
<resources>
|
||||
|
||||
<style name="violet_digit_button_style" parent="cpp_keyboard_button_style">
|
||||
<item name="android:background">@drawable/violet_button</item>
|
||||
</style>
|
||||
|
||||
<style name="violet_operation_button_style" parent="violet_digit_button_style">
|
||||
<item name="android:textColor">@color/cpp_button_operator_text_color</item>
|
||||
</style>
|
||||
|
||||
<style name="violet_control_button_style" parent="cpp_keyboard_button_style">
|
||||
<item name="android:background">@drawable/violet_button_dark</item>
|
||||
</style>
|
||||
|
||||
<style name="violet_control_image_button_style" parent="violet_control_button_style">
|
||||
<item name="android:padding">6dp</item>
|
||||
</style>
|
||||
|
||||
<style name="cpp_violet_theme" parent="cpp_gray_theme">
|
||||
<item name="cpp_digit_button_style">@style/violet_digit_button_style</item>
|
||||
<item name="cpp_control_button_style">@style/violet_control_button_style</item>
|
||||
<item name="cpp_control_image_button_style">@style/violet_control_image_button_style</item>
|
||||
<item name="cpp_operation_button_style">@style/violet_operation_button_style</item>
|
||||
</style>
|
||||
</resources>
|
Reference in New Issue
Block a user