diff --git a/calculatorpp/res/layout-land/main_calculator.xml b/calculatorpp/res/layout-land/main_calculator.xml
index 14b24087..576a4df7 100644
--- a/calculatorpp/res/layout-land/main_calculator.xml
+++ b/calculatorpp/res/layout-land/main_calculator.xml
@@ -9,7 +9,7 @@
xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@+id/main_layout"
a:orientation="vertical"
- style="?mainLayoutStyle">
+ style="?cpp_main_layout_style">
diff --git a/calculatorpp/res/layout-land/main_calculator_mobile.xml b/calculatorpp/res/layout-land/main_calculator_mobile.xml
index 8bb7bfa4..b82b9f61 100644
--- a/calculatorpp/res/layout-land/main_calculator_mobile.xml
+++ b/calculatorpp/res/layout-land/main_calculator_mobile.xml
@@ -9,7 +9,7 @@
xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@+id/main_layout"
a:orientation="vertical"
- style="?mainLayoutStyle">
+ style="?cpp_main_layout_style">
diff --git a/calculatorpp/res/layout-large-land/main_calculator.xml b/calculatorpp/res/layout-large-land/main_calculator.xml
index cf894fea..72466751 100644
--- a/calculatorpp/res/layout-large-land/main_calculator.xml
+++ b/calculatorpp/res/layout-large-land/main_calculator.xml
@@ -9,7 +9,7 @@
xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@+id/main_layout"
a:orientation="vertical"
- style="?mainMultiPaneLayoutStyle">
+ style="?cpp_main_multi_pane_layout_style">
@@ -44,7 +44,7 @@
a:layout_width="0dp"
a:layout_weight="1"
a:orientation="vertical"
- style="?paneStyle"/>
+ style="?cpp_pane_style"/>
@@ -52,6 +52,6 @@
a:layout_height="0dp"
a:layout_width="match_parent"
a:layout_weight="2"
- style="?paneStyleTransparent"/>
+ style="?cpp_pane_style_transparent"/>
diff --git a/calculatorpp/res/layout-large/calc_display.xml b/calculatorpp/res/layout-large/calc_display.xml
index 5e0d8bb4..48c937a9 100644
--- a/calculatorpp/res/layout-large/calc_display.xml
+++ b/calculatorpp/res/layout-large/calc_display.xml
@@ -8,17 +8,17 @@
-
+ style="?cpp_fragment_title_style"/>
-
+ style="?cpp_fragment_title_style"/>
+ style="?cpp_main_multi_pane_layout_style">
@@ -44,7 +44,7 @@
a:layout_width="0dp"
a:layout_weight="1"
a:orientation="vertical"
- style="?paneStyle"/>
+ style="?cpp_pane_style"/>
@@ -52,6 +52,6 @@
a:layout_height="0dp"
a:layout_width="match_parent"
a:layout_weight="2"
- style="?paneStyleTransparent"/>
+ style="?cpp_pane_style_transparent"/>
diff --git a/calculatorpp/res/layout-xlarge-land/main_calculator.xml b/calculatorpp/res/layout-xlarge-land/main_calculator.xml
index 94d04dcb..debd4163 100644
--- a/calculatorpp/res/layout-xlarge-land/main_calculator.xml
+++ b/calculatorpp/res/layout-xlarge-land/main_calculator.xml
@@ -9,7 +9,7 @@
xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@+id/main_layout"
a:orientation="vertical"
- style="?mainMultiPaneLayoutStyle">
+ style="?cpp_main_multi_pane_layout_style">
@@ -44,7 +44,7 @@
a:layout_width="0dp"
a:layout_weight="1"
a:orientation="vertical"
- style="?paneStyle"/>
+ style="?cpp_pane_style"/>
@@ -52,6 +52,6 @@
a:layout_height="0dp"
a:layout_width="match_parent"
a:layout_weight="1"
- style="?paneStyleTransparent"/>
+ style="?cpp_pane_style_transparent"/>
diff --git a/calculatorpp/res/layout-xlarge/calc_display.xml b/calculatorpp/res/layout-xlarge/calc_display.xml
index 5e0d8bb4..48c937a9 100644
--- a/calculatorpp/res/layout-xlarge/calc_display.xml
+++ b/calculatorpp/res/layout-xlarge/calc_display.xml
@@ -8,17 +8,17 @@
-
+ style="?cpp_fragment_title_style"/>
-
+ style="?cpp_fragment_title_style"/>
+ style="?cpp_main_multi_pane_layout_style">
@@ -44,7 +44,7 @@
a:layout_width="0dp"
a:layout_weight="1"
a:orientation="vertical"
- style="?paneStyle"/>
+ style="?cpp_pane_style"/>
@@ -52,6 +52,6 @@
a:layout_height="0dp"
a:layout_width="match_parent"
a:layout_weight="1"
- style="?paneStyleTransparent"/>
+ style="?cpp_pane_style_transparent"/>
diff --git a/calculatorpp/res/layout/calc_clear_button.xml b/calculatorpp/res/layout/calc_clear_button.xml
index 91033335..6b84b546 100644
--- a/calculatorpp/res/layout/calc_clear_button.xml
+++ b/calculatorpp/res/layout/calc_clear_button.xml
@@ -14,5 +14,5 @@
c:textDown="bin"
c:textLeft="hex"
a:textStyle="bold"
- style="?controlImageButtonStyle"
+ style="?cpp_control_image_button_style"
a:onClick="clearButtonClickHandler"/>
\ No newline at end of file
diff --git a/calculatorpp/res/layout/calc_copy_button.xml b/calculatorpp/res/layout/calc_copy_button.xml
index 10208bda..d0fe8181 100644
--- a/calculatorpp/res/layout/calc_copy_button.xml
+++ b/calculatorpp/res/layout/calc_copy_button.xml
@@ -9,5 +9,5 @@
\ No newline at end of file
diff --git a/calculatorpp/res/layout/calc_display.xml b/calculatorpp/res/layout/calc_display.xml
index 81b1a5dd..95879ff0 100644
--- a/calculatorpp/res/layout/calc_display.xml
+++ b/calculatorpp/res/layout/calc_display.xml
@@ -8,7 +8,7 @@
\ No newline at end of file
diff --git a/calculatorpp/res/layout/calc_donate_button.xml b/calculatorpp/res/layout/calc_donate_button.xml
index b4d4e5fa..ad4c928b 100644
--- a/calculatorpp/res/layout/calc_donate_button.xml
+++ b/calculatorpp/res/layout/calc_donate_button.xml
@@ -9,5 +9,5 @@
\ No newline at end of file
diff --git a/calculatorpp/res/layout/calc_dot_button.xml b/calculatorpp/res/layout/calc_dot_button.xml
index 848dcfc6..a006ef05 100644
--- a/calculatorpp/res/layout/calc_dot_button.xml
+++ b/calculatorpp/res/layout/calc_dot_button.xml
@@ -12,5 +12,5 @@
a:text="."
c:textUp=","
c:directionTextScale="0.5"
- style="?digitButtonStyle"
+ style="?cpp_digit_button_style"
a:onClick="digitButtonClickHandler"/>
\ No newline at end of file
diff --git a/calculatorpp/res/layout/calc_editor.xml b/calculatorpp/res/layout/calc_editor.xml
index f22fbd24..220b01fa 100644
--- a/calculatorpp/res/layout/calc_editor.xml
+++ b/calculatorpp/res/layout/calc_editor.xml
@@ -8,13 +8,13 @@
\ No newline at end of file
diff --git a/calculatorpp/res/layout/calc_empty_button.xml b/calculatorpp/res/layout/calc_empty_button.xml
index 0a4d6128..38d77b13 100644
--- a/calculatorpp/res/layout/calc_empty_button.xml
+++ b/calculatorpp/res/layout/calc_empty_button.xml
@@ -7,4 +7,4 @@
-->
\ No newline at end of file
+ style="?cpp_control_button_style"/>
\ No newline at end of file
diff --git a/calculatorpp/res/layout/calc_equals_button.xml b/calculatorpp/res/layout/calc_equals_button.xml
index e2e04b76..ca375116 100644
--- a/calculatorpp/res/layout/calc_equals_button.xml
+++ b/calculatorpp/res/layout/calc_equals_button.xml
@@ -14,5 +14,5 @@
c:directionTextScale="0.5"
a:layout_width="fill_parent"
a:layout_height="fill_parent"
- style="?controlButtonStyle"
+ style="?cpp_control_button_style"
a:onClick="equalsButtonClickHandler"/>
\ No newline at end of file
diff --git a/calculatorpp/res/layout/calc_erase_button.xml b/calculatorpp/res/layout/calc_erase_button.xml
index f6851bcc..46ad2dfd 100644
--- a/calculatorpp/res/layout/calc_erase_button.xml
+++ b/calculatorpp/res/layout/calc_erase_button.xml
@@ -9,5 +9,5 @@
\ No newline at end of file
diff --git a/calculatorpp/res/layout/calc_five_digit_button.xml b/calculatorpp/res/layout/calc_five_digit_button.xml
index 1b5c10cb..4c59b34e 100644
--- a/calculatorpp/res/layout/calc_five_digit_button.xml
+++ b/calculatorpp/res/layout/calc_five_digit_button.xml
@@ -12,5 +12,5 @@
c:textUp="t"
c:textLeft="E"
c:textDown="j"
- style="?digitButtonStyle"
+ style="?cpp_digit_button_style"
a:onClick="digitButtonClickHandler"/>
\ No newline at end of file
diff --git a/calculatorpp/res/layout/calc_four_digit_button.xml b/calculatorpp/res/layout/calc_four_digit_button.xml
index 17acfe6e..06eabd24 100644
--- a/calculatorpp/res/layout/calc_four_digit_button.xml
+++ b/calculatorpp/res/layout/calc_four_digit_button.xml
@@ -12,5 +12,5 @@
c:textUp="x"
c:textLeft="D"
c:textDown="y"
- style="?digitButtonStyle"
+ style="?cpp_digit_button_style"
a:onClick="digitButtonClickHandler"/>
\ No newline at end of file
diff --git a/calculatorpp/res/layout/calc_functions_button.xml b/calculatorpp/res/layout/calc_functions_button.xml
index 10d72a2f..53baae99 100644
--- a/calculatorpp/res/layout/calc_functions_button.xml
+++ b/calculatorpp/res/layout/calc_functions_button.xml
@@ -14,4 +14,4 @@
a:text="ƒ(x)"
a:textStyle="italic"
a:onClick="functionsButtonClickHandler"
- style="?controlButtonStyle" />
\ No newline at end of file
+ style="?cpp_control_button_style" />
\ No newline at end of file
diff --git a/calculatorpp/res/layout/calc_history_button.xml b/calculatorpp/res/layout/calc_history_button.xml
index dfb3b4ef..517c216a 100644
--- a/calculatorpp/res/layout/calc_history_button.xml
+++ b/calculatorpp/res/layout/calc_history_button.xml
@@ -12,6 +12,6 @@
c:textUp="@string/c_undo"
c:textDown="@string/c_redo"
c:directionTextScale="0.27"
- style="?controlButtonStyle"
+ style="?cpp_control_button_style"
a:textStyle="bold"
a:onClick="historyButtonClickHandler"/>
\ No newline at end of file
diff --git a/calculatorpp/res/layout/calc_left_button.xml b/calculatorpp/res/layout/calc_left_button.xml
index 9ca3cfeb..8116a5ac 100644
--- a/calculatorpp/res/layout/calc_left_button.xml
+++ b/calculatorpp/res/layout/calc_left_button.xml
@@ -12,5 +12,5 @@
c:textUp="◀◀"
a:text="◀"
c:directionTextScale="0.5"
- style="?controlButtonStyle"
+ style="?cpp_control_button_style"
a:onClick="digitButtonClickHandler"/>
\ No newline at end of file
diff --git a/calculatorpp/res/layout/calc_multiplication_button.xml b/calculatorpp/res/layout/calc_multiplication_button.xml
index ea5831ae..0ed0c46c 100644
--- a/calculatorpp/res/layout/calc_multiplication_button.xml
+++ b/calculatorpp/res/layout/calc_multiplication_button.xml
@@ -13,6 +13,6 @@
c:textUp="^"
c:textDown="^2"
c:textLeft="Π"
- style="?operationButtonStyle"
+ style="?cpp_operation_button_style"
c:directionTextScale="0.5"
a:onClick="digitButtonClickHandler"/>
\ No newline at end of file
diff --git a/calculatorpp/res/layout/calc_nine_digit_button.xml b/calculatorpp/res/layout/calc_nine_digit_button.xml
index 74d1bfa2..b920ea78 100644
--- a/calculatorpp/res/layout/calc_nine_digit_button.xml
+++ b/calculatorpp/res/layout/calc_nine_digit_button.xml
@@ -13,5 +13,5 @@
c:textLeft="0x:"
c:textUp="π"
c:directionTextScale="0.5;0.5;0.5;0.33"
- style="?digitButtonStyle"
+ style="?cpp_digit_button_style"
a:onClick="digitButtonClickHandler"/>
\ No newline at end of file
diff --git a/calculatorpp/res/layout/calc_one_digit_button.xml b/calculatorpp/res/layout/calc_one_digit_button.xml
index a5311385..63c5fc05 100644
--- a/calculatorpp/res/layout/calc_one_digit_button.xml
+++ b/calculatorpp/res/layout/calc_one_digit_button.xml
@@ -13,5 +13,5 @@
c:textUp="sin"
c:textLeft="A"
c:textDown="asin"
- style="?digitButtonStyle"
+ style="?cpp_digit_button_style"
a:onClick="digitButtonClickHandler"/>
\ No newline at end of file
diff --git a/calculatorpp/res/layout/calc_operators_button.xml b/calculatorpp/res/layout/calc_operators_button.xml
index 3c5b8bd0..425dcdb0 100644
--- a/calculatorpp/res/layout/calc_operators_button.xml
+++ b/calculatorpp/res/layout/calc_operators_button.xml
@@ -10,4 +10,4 @@
a:id="@+id/functions_button"
a:text="∂,…"
a:onClick="operatorsButtonClickHandler"
- style="?controlButtonStyle"/>
\ No newline at end of file
+ style="?cpp_control_button_style"/>
\ No newline at end of file
diff --git a/calculatorpp/res/layout/calc_paste_button.xml b/calculatorpp/res/layout/calc_paste_button.xml
index 98ac3ff5..a6cd5e42 100644
--- a/calculatorpp/res/layout/calc_paste_button.xml
+++ b/calculatorpp/res/layout/calc_paste_button.xml
@@ -9,5 +9,5 @@
\ No newline at end of file
diff --git a/calculatorpp/res/layout/calc_plus_button.xml b/calculatorpp/res/layout/calc_plus_button.xml
index b01f8822..83e5531d 100644
--- a/calculatorpp/res/layout/calc_plus_button.xml
+++ b/calculatorpp/res/layout/calc_plus_button.xml
@@ -12,5 +12,5 @@
c:textUp="°"
c:textDown="E"
a:text="+"
- style="?operationButtonStyle"
+ style="?cpp_operation_button_style"
a:onClick="digitButtonClickHandler"/>
\ No newline at end of file
diff --git a/calculatorpp/res/layout/calc_right_button.xml b/calculatorpp/res/layout/calc_right_button.xml
index 943ab992..35659042 100644
--- a/calculatorpp/res/layout/calc_right_button.xml
+++ b/calculatorpp/res/layout/calc_right_button.xml
@@ -12,5 +12,5 @@
c:textUp="▶▶"
a:text="▶"
c:directionTextScale="0.5"
- style="?controlButtonStyle"
+ style="?cpp_control_button_style"
a:onClick="digitButtonClickHandler"/>
\ No newline at end of file
diff --git a/calculatorpp/res/layout/calc_round_brackets_button.xml b/calculatorpp/res/layout/calc_round_brackets_button.xml
index 73e1c89b..719ceb09 100644
--- a/calculatorpp/res/layout/calc_round_brackets_button.xml
+++ b/calculatorpp/res/layout/calc_round_brackets_button.xml
@@ -14,5 +14,5 @@
c:textDown=")"
c:textLeft="(…)"
c:directionTextScale="0.5;0.5;0.5;0.33"
- style="?digitButtonStyle"
+ style="?cpp_digit_button_style"
a:onClick="digitButtonClickHandler"/>
\ No newline at end of file
diff --git a/calculatorpp/res/layout/calc_seven_digit_button.xml b/calculatorpp/res/layout/calc_seven_digit_button.xml
index 59417e4c..3518e3e6 100644
--- a/calculatorpp/res/layout/calc_seven_digit_button.xml
+++ b/calculatorpp/res/layout/calc_seven_digit_button.xml
@@ -13,5 +13,5 @@
c:textLeft="0b:"
c:textDown="!"
c:directionTextScale="0.5;0.5;0.5;0.33"
- style="?digitButtonStyle"
+ style="?cpp_digit_button_style"
a:onClick="digitButtonClickHandler"/>
\ No newline at end of file
diff --git a/calculatorpp/res/layout/calc_six_digit_button.xml b/calculatorpp/res/layout/calc_six_digit_button.xml
index fc6b73ea..47f619e1 100644
--- a/calculatorpp/res/layout/calc_six_digit_button.xml
+++ b/calculatorpp/res/layout/calc_six_digit_button.xml
@@ -14,5 +14,5 @@
c:textLeft="F"
c:textDown="rad"
c:directionTextScale="0.33;0.30;0.33;0.33"
- style="?digitButtonStyle"
+ style="?cpp_digit_button_style"
a:onClick="digitButtonClickHandler"/>
\ No newline at end of file
diff --git a/calculatorpp/res/layout/calc_subtraction_button.xml b/calculatorpp/res/layout/calc_subtraction_button.xml
index b10a691d..2ac9ea09 100644
--- a/calculatorpp/res/layout/calc_subtraction_button.xml
+++ b/calculatorpp/res/layout/calc_subtraction_button.xml
@@ -11,5 +11,5 @@
c:textDown="∂,…"
a:text="-"
c:directionTextScale="0.5"
- style="?operationButtonStyle"
+ style="?cpp_operation_button_style"
a:onClick="digitButtonClickHandler"/>
\ No newline at end of file
diff --git a/calculatorpp/res/layout/calc_three_digit_button.xml b/calculatorpp/res/layout/calc_three_digit_button.xml
index 65bcc852..63e7e588 100644
--- a/calculatorpp/res/layout/calc_three_digit_button.xml
+++ b/calculatorpp/res/layout/calc_three_digit_button.xml
@@ -13,5 +13,5 @@
c:textUp="tan"
c:textLeft="C"
c:textDown="atan"
- style="?digitButtonStyle"
+ style="?cpp_digit_button_style"
a:onClick="digitButtonClickHandler"/>
\ No newline at end of file
diff --git a/calculatorpp/res/layout/calc_two_digit_button.xml b/calculatorpp/res/layout/calc_two_digit_button.xml
index 62dfdb34..d4456b65 100644
--- a/calculatorpp/res/layout/calc_two_digit_button.xml
+++ b/calculatorpp/res/layout/calc_two_digit_button.xml
@@ -13,5 +13,5 @@
c:textUp="cos"
c:textLeft="B"
c:textDown="acos"
- style="?digitButtonStyle"
+ style="?cpp_digit_button_style"
a:onClick="digitButtonClickHandler"/>
\ No newline at end of file
diff --git a/calculatorpp/res/layout/calc_vars_button.xml b/calculatorpp/res/layout/calc_vars_button.xml
index a8f5fb9d..85db3d2a 100644
--- a/calculatorpp/res/layout/calc_vars_button.xml
+++ b/calculatorpp/res/layout/calc_vars_button.xml
@@ -14,4 +14,4 @@
a:text="π,…"
a:textStyle="italic"
a:onClick="varsButtonClickHandler"
- style="?controlButtonStyle"/>
\ No newline at end of file
+ style="?cpp_control_button_style"/>
\ No newline at end of file
diff --git a/calculatorpp/res/layout/calc_zero_digit_button.xml b/calculatorpp/res/layout/calc_zero_digit_button.xml
index fd5cbc4e..dfa471e3 100644
--- a/calculatorpp/res/layout/calc_zero_digit_button.xml
+++ b/calculatorpp/res/layout/calc_zero_digit_button.xml
@@ -13,5 +13,5 @@
a:text="0"
c:textDown="000"
c:directionTextScale="0.5"
- style="?digitButtonStyle"
+ style="?cpp_digit_button_style"
a:onClick="digitButtonClickHandler"/>
\ No newline at end of file
diff --git a/calculatorpp/res/layout/calculator_messages_dialog.xml b/calculatorpp/res/layout/calculator_messages_dialog.xml
index 620f1e81..d8743a39 100644
--- a/calculatorpp/res/layout/calculator_messages_dialog.xml
+++ b/calculatorpp/res/layout/calculator_messages_dialog.xml
@@ -3,7 +3,7 @@
+ style="?cpp_digit_button_style"/>
+ style="?cpp_digit_button_style"/>
-
+ style="?cpp_fragment_title_style"/>
diff --git a/calculatorpp/res/layout/help_hints_fragment.xml b/calculatorpp/res/layout/help_hints_fragment.xml
index 6cfcf112..9ec48381 100644
--- a/calculatorpp/res/layout/help_hints_fragment.xml
+++ b/calculatorpp/res/layout/help_hints_fragment.xml
@@ -7,14 +7,14 @@
-->
-
+ style="?cpp_fragment_title_style"/>
diff --git a/calculatorpp/res/layout/help_screens_fragment.xml b/calculatorpp/res/layout/help_screens_fragment.xml
index 8f4d5e0e..84bb7557 100644
--- a/calculatorpp/res/layout/help_screens_fragment.xml
+++ b/calculatorpp/res/layout/help_screens_fragment.xml
@@ -7,14 +7,14 @@
-->
-
+ style="?cpp_fragment_title_style"/>
diff --git a/calculatorpp/res/layout/history_fragment.xml b/calculatorpp/res/layout/history_fragment.xml
index e3cdd7c6..85db40d4 100644
--- a/calculatorpp/res/layout/history_fragment.xml
+++ b/calculatorpp/res/layout/history_fragment.xml
@@ -2,17 +2,17 @@
-
+ style="?cpp_fragment_title_style"/>
-
+
\ No newline at end of file
diff --git a/calculatorpp/res/layout/history_item.xml b/calculatorpp/res/layout/history_item.xml
index d3be7e51..d1bf122c 100644
--- a/calculatorpp/res/layout/history_item.xml
+++ b/calculatorpp/res/layout/history_item.xml
@@ -8,7 +8,7 @@
diff --git a/calculatorpp/res/layout/main_calculator.xml b/calculatorpp/res/layout/main_calculator.xml
index 0c0d3569..3dda0891 100644
--- a/calculatorpp/res/layout/main_calculator.xml
+++ b/calculatorpp/res/layout/main_calculator.xml
@@ -12,7 +12,7 @@
a:layout_height="match_parent"
a:id="@+id/main_layout"
a:orientation="vertical"
- style="?mainLayoutStyle">
+ style="?cpp_main_layout_style">
+ style="?cpp_main_layout_style">
\ No newline at end of file
diff --git a/calculatorpp/res/layout/main_empty_multi_pane.xml b/calculatorpp/res/layout/main_empty_multi_pane.xml
index 35bf6f40..af4764cc 100644
--- a/calculatorpp/res/layout/main_empty_multi_pane.xml
+++ b/calculatorpp/res/layout/main_empty_multi_pane.xml
@@ -8,7 +8,7 @@
\ No newline at end of file
diff --git a/calculatorpp/res/layout/math_entities_fragment.xml b/calculatorpp/res/layout/math_entities_fragment.xml
index e3cdd7c6..85db40d4 100644
--- a/calculatorpp/res/layout/math_entities_fragment.xml
+++ b/calculatorpp/res/layout/math_entities_fragment.xml
@@ -2,17 +2,17 @@
-
+ style="?cpp_fragment_title_style"/>
-
+
\ No newline at end of file
diff --git a/calculatorpp/res/layout/math_entity.xml b/calculatorpp/res/layout/math_entity.xml
index 3f41f32f..6c1ece7e 100644
--- a/calculatorpp/res/layout/math_entity.xml
+++ b/calculatorpp/res/layout/math_entity.xml
@@ -9,7 +9,7 @@
diff --git a/calculatorpp/res/layout/plot_fragment.xml b/calculatorpp/res/layout/plot_fragment.xml
index 1e2d53c5..fc690e01 100644
--- a/calculatorpp/res/layout/plot_fragment.xml
+++ b/calculatorpp/res/layout/plot_fragment.xml
@@ -2,14 +2,14 @@
-
+ style="?cpp_fragment_title_style"/>
diff --git a/calculatorpp/res/layout/saved_history_item.xml b/calculatorpp/res/layout/saved_history_item.xml
index 88c3afd9..7e4fc460 100644
--- a/calculatorpp/res/layout/saved_history_item.xml
+++ b/calculatorpp/res/layout/saved_history_item.xml
@@ -8,7 +8,7 @@
diff --git a/calculatorpp/res/layout/vars_fragment.xml b/calculatorpp/res/layout/vars_fragment.xml
index a131f1a7..77521d86 100644
--- a/calculatorpp/res/layout/vars_fragment.xml
+++ b/calculatorpp/res/layout/vars_fragment.xml
@@ -8,17 +8,17 @@
-
+ style="?cpp_fragment_title_style"/>
-
+
\ No newline at end of file
diff --git a/calculatorpp/res/layout/widget_display.xml b/calculatorpp/res/layout/widget_display.xml
index 436ffb77..2824442d 100644
--- a/calculatorpp/res/layout/widget_display.xml
+++ b/calculatorpp/res/layout/widget_display.xml
@@ -8,7 +8,7 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/calculatorpp/res/values/theme_default.xml b/calculatorpp/res/values/theme_default.xml
index a8417451..2c5e198e 100644
--- a/calculatorpp/res/values/theme_default.xml
+++ b/calculatorpp/res/values/theme_default.xml
@@ -115,24 +115,24 @@
\ No newline at end of file
diff --git a/calculatorpp/res/values/theme_metro_blue.xml b/calculatorpp/res/values/theme_metro_blue.xml
index b1d58c0e..54161c67 100644
--- a/calculatorpp/res/values/theme_metro_blue.xml
+++ b/calculatorpp/res/values/theme_metro_blue.xml
@@ -48,12 +48,12 @@
\ No newline at end of file
diff --git a/calculatorpp/res/values/theme_metro_purple.xml b/calculatorpp/res/values/theme_metro_purple.xml
index f0f362ca..582afd5b 100644
--- a/calculatorpp/res/values/theme_metro_purple.xml
+++ b/calculatorpp/res/values/theme_metro_purple.xml
@@ -11,8 +11,8 @@
\ No newline at end of file
diff --git a/calculatorpp/res/values/theme_violet.xml b/calculatorpp/res/values/theme_violet.xml
index 156fd603..b0a79c03 100644
--- a/calculatorpp/res/values/theme_violet.xml
+++ b/calculatorpp/res/values/theme_violet.xml
@@ -23,9 +23,9 @@
\ No newline at end of file
diff --git a/calculatorpp/src/main/java/org/solovyev/android/calculator/AndroidCalculator.java b/calculatorpp/src/main/java/org/solovyev/android/calculator/AndroidCalculator.java
index 8bf92c67..a367ab9d 100644
--- a/calculatorpp/src/main/java/org/solovyev/android/calculator/AndroidCalculator.java
+++ b/calculatorpp/src/main/java/org/solovyev/android/calculator/AndroidCalculator.java
@@ -59,7 +59,7 @@ public class AndroidCalculator implements Calculator, CalculatorEventListener, S
}
public void setDisplay(@NotNull Activity activity) {
- final AndroidCalculatorDisplayView displayView = (AndroidCalculatorDisplayView) activity.findViewById(R.id.calculatorDisplay);
+ final AndroidCalculatorDisplayView displayView = (AndroidCalculatorDisplayView) activity.findViewById(R.id.calculator_display);
setDisplay(activity, displayView);
}
@@ -69,7 +69,7 @@ public class AndroidCalculator implements Calculator, CalculatorEventListener, S
}
public void setEditor(@NotNull Activity activity) {
- final AndroidCalculatorEditorView editorView = (AndroidCalculatorEditorView) activity.findViewById(R.id.calculatorEditor);
+ final AndroidCalculatorEditorView editorView = (AndroidCalculatorEditorView) activity.findViewById(R.id.calculator_editor);
setEditor(activity, editorView);
}
diff --git a/calculatorpp/src/main/java/org/solovyev/android/calculator/CalculatorFragmentHelperImpl.java b/calculatorpp/src/main/java/org/solovyev/android/calculator/CalculatorFragmentHelperImpl.java
index da696eea..9c2e19c3 100644
--- a/calculatorpp/src/main/java/org/solovyev/android/calculator/CalculatorFragmentHelperImpl.java
+++ b/calculatorpp/src/main/java/org/solovyev/android/calculator/CalculatorFragmentHelperImpl.java
@@ -47,7 +47,7 @@ public class CalculatorFragmentHelperImpl extends AbstractCalculatorHelper imple
}
public void setPaneTitle(@NotNull Fragment fragment, int titleResId) {
- final TextView fragmentTitle = (TextView) fragment.getView().findViewById(R.id.fragmentTitle);
+ final TextView fragmentTitle = (TextView) fragment.getView().findViewById(R.id.fragment_title);
if (fragmentTitle != null) {
if (!isPane(fragment)) {
fragmentTitle.setVisibility(View.GONE);
diff --git a/calculatorpp/src/main/java/org/solovyev/android/calculator/widget/AbstractCalculatorWidgetProvider.java b/calculatorpp/src/main/java/org/solovyev/android/calculator/widget/AbstractCalculatorWidgetProvider.java
index 03f01d4a..316b65ef 100644
--- a/calculatorpp/src/main/java/org/solovyev/android/calculator/widget/AbstractCalculatorWidgetProvider.java
+++ b/calculatorpp/src/main/java/org/solovyev/android/calculator/widget/AbstractCalculatorWidgetProvider.java
@@ -204,10 +204,10 @@ abstract class AbstractCalculatorWidgetProvider extends AppWidgetProvider {
private void updateDisplayState(@NotNull Context context, @NotNull RemoteViews views, @NotNull CalculatorDisplayViewState displayState) {
if (displayState.isValid()) {
- views.setTextViewText(R.id.calculatorDisplay, displayState.getText());
- views.setTextColor(R.id.calculatorDisplay, context.getResources().getColor(R.color.cpp_default_text_color));
+ views.setTextViewText(R.id.calculator_display, displayState.getText());
+ views.setTextColor(R.id.calculator_display, context.getResources().getColor(R.color.cpp_default_text_color));
} else {
- views.setTextColor(R.id.calculatorDisplay, context.getResources().getColor(R.color.cpp_display_error_text_color));
+ views.setTextColor(R.id.calculator_display, context.getResources().getColor(R.color.cpp_display_error_text_color));
}
}
@@ -221,7 +221,7 @@ abstract class AbstractCalculatorWidgetProvider extends AppWidgetProvider {
newText = Html.fromHtml(text.substring(0, selection) + "|" + text.substring(selection));
}
CalculatorLocatorImpl.getInstance().getNotifier().showDebugMessage(TAG, "New editor state: " + text);
- views.setTextViewText(R.id.calculatorEditor, newText);
+ views.setTextViewText(R.id.calculator_editor, newText);
}
/*