From 32e755d2fc359929c3b5695dbfd15287f4084940 Mon Sep 17 00:00:00 2001 From: serso Date: Mon, 9 Feb 2015 16:11:26 +0100 Subject: [PATCH] Lint issues --- .../ChooseThemeReleaseNoteFragment.java | 2 +- .../calculator/wizard/WizardActivity.java | 2 +- .../calculator/wizard/WizardFragment.java | 10 +- .../layout-land/main_first_pane_mobile.xml | 73 ++--- .../src/main/res/layout/about_fragment.xml | 22 +- android-app/src/main/res/layout/ad.xml | 4 +- android-app/src/main/res/layout/admob.xml | 12 +- .../src/main/res/layout/calc_plot_view.xml | 10 +- .../main/res/layout/cpp_activity_settings.xml | 6 +- .../main/res/layout/cpp_activity_wizard.xml | 18 +- .../src/main/res/layout/cpp_app_button_0.xml | 19 +- .../src/main/res/layout/cpp_app_button_1.xml | 19 +- .../src/main/res/layout/cpp_app_button_2.xml | 19 +- .../src/main/res/layout/cpp_app_button_3.xml | 19 +- .../src/main/res/layout/cpp_app_button_4.xml | 19 +- .../src/main/res/layout/cpp_app_button_5.xml | 19 +- .../src/main/res/layout/cpp_app_button_6.xml | 21 +- .../src/main/res/layout/cpp_app_button_7.xml | 21 +- .../src/main/res/layout/cpp_app_button_8.xml | 21 +- .../src/main/res/layout/cpp_app_button_9.xml | 21 +- .../main/res/layout/cpp_app_button_clear.xml | 19 +- .../main/res/layout/cpp_app_button_copy.xml | 9 +- .../res/layout/cpp_app_button_division.xml | 19 +- .../main/res/layout/cpp_app_button_donate.xml | 9 +- .../main/res/layout/cpp_app_button_dot.xml | 17 +- .../main/res/layout/cpp_app_button_empty.xml | 2 +- .../main/res/layout/cpp_app_button_equals.xml | 19 +- .../layout/cpp_app_button_equals_no_bg.xml | 9 +- .../main/res/layout/cpp_app_button_erase.xml | 9 +- .../res/layout/cpp_app_button_functions.xml | 19 +- .../res/layout/cpp_app_button_history.xml | 19 +- .../main/res/layout/cpp_app_button_left.xml | 17 +- .../main/res/layout/cpp_app_button_minus.xml | 17 +- .../layout/cpp_app_button_multiplication.xml | 21 +- .../res/layout/cpp_app_button_operators.xml | 11 +- .../main/res/layout/cpp_app_button_paste.xml | 9 +- .../main/res/layout/cpp_app_button_plus.xml | 19 +- .../main/res/layout/cpp_app_button_right.xml | 17 +- .../layout/cpp_app_button_round_brackets.xml | 21 +- .../main/res/layout/cpp_app_button_vars.xml | 19 +- .../src/main/res/layout/cpp_app_display.xml | 17 +- .../res/layout/cpp_app_display_mobile.xml | 16 +- .../src/main/res/layout/cpp_app_editor.xml | 24 +- .../main/res/layout/cpp_app_editor_mobile.xml | 24 +- .../src/main/res/layout/cpp_app_keyboard.xml | 86 +++--- .../res/layout/cpp_app_keyboard_mobile.xml | 86 +++--- .../src/main/res/layout/cpp_dialog.xml | 8 +- .../main/res/layout/cpp_dialog_fragment.xml | 54 ++-- .../layout/cpp_fixable_messages_dialog.xml | 36 +-- .../cpp_fixable_messages_dialog_message.xml | 30 +- .../src/main/res/layout/cpp_plot_fragment.xml | 20 +- .../layout/cpp_plot_function_list_item.xml | 46 +-- .../cpp_plot_function_settings_dialog.xml | 6 +- .../cpp_plot_function_settings_fragment.xml | 78 ++--- .../layout/cpp_plot_functions_fragment.xml | 52 ++-- .../res/layout/cpp_plot_range_fragment.xml | 128 ++++----- .../layout/cpp_purchase_dialog_fragment.xml | 34 +-- .../main/res/layout/cpp_release_note_step.xml | 12 +- .../main/res/layout/cpp_simple_button_0.xml | 8 +- .../main/res/layout/cpp_simple_button_1.xml | 8 +- .../main/res/layout/cpp_simple_button_2.xml | 8 +- .../main/res/layout/cpp_simple_button_3.xml | 8 +- .../main/res/layout/cpp_simple_button_4.xml | 8 +- .../main/res/layout/cpp_simple_button_5.xml | 8 +- .../main/res/layout/cpp_simple_button_6.xml | 8 +- .../main/res/layout/cpp_simple_button_7.xml | 8 +- .../main/res/layout/cpp_simple_button_8.xml | 8 +- .../main/res/layout/cpp_simple_button_9.xml | 8 +- .../main/res/layout/cpp_simple_button_app.xml | 10 +- .../res/layout/cpp_simple_button_clear.xml | 10 +- .../res/layout/cpp_simple_button_copy.xml | 10 +- .../res/layout/cpp_simple_button_division.xml | 8 +- .../main/res/layout/cpp_simple_button_dot.xml | 8 +- .../res/layout/cpp_simple_button_equals.xml | 8 +- .../res/layout/cpp_simple_button_erase.xml | 10 +- .../layout/cpp_simple_button_functions.xml | 10 +- .../res/layout/cpp_simple_button_history.xml | 10 +- .../res/layout/cpp_simple_button_left.xml | 8 +- .../res/layout/cpp_simple_button_like.xml | 10 +- .../cpp_simple_button_multiplication.xml | 8 +- .../layout/cpp_simple_button_operators.xml | 10 +- .../res/layout/cpp_simple_button_paste.xml | 10 +- .../res/layout/cpp_simple_button_percent.xml | 8 +- .../res/layout/cpp_simple_button_plus.xml | 8 +- .../res/layout/cpp_simple_button_power.xml | 8 +- .../res/layout/cpp_simple_button_right.xml | 8 +- .../cpp_simple_button_round_brackets.xml | 8 +- .../res/layout/cpp_simple_button_settings.xml | 10 +- .../layout/cpp_simple_button_subtraction.xml | 8 +- .../res/layout/cpp_simple_button_vars.xml | 10 +- .../main/res/layout/cpp_simple_keyboard.xml | 96 +++---- .../layout/cpp_simple_keyboard_lockscreen.xml | 78 ++--- ...p_simple_keyboard_lockscreen_collapsed.xml | 60 ++-- .../main/res/layout/cpp_unit_converter.xml | 112 ++++---- .../src/main/res/layout/cpp_wiki_page.xml | 13 +- .../src/main/res/layout/cpp_wizard.xml | 22 +- .../layout/cpp_wizard_step_choose_layout.xml | 19 +- .../layout/cpp_wizard_step_choose_mode.xml | 32 +-- .../layout/cpp_wizard_step_choose_theme.xml | 21 +- .../cpp_wizard_step_choose_theme_preview.xml | 10 +- .../layout/cpp_wizard_step_drag_button.xml | 30 +- .../main/res/layout/cpp_wizard_step_final.xml | 12 +- .../res/layout/cpp_wizard_step_onscreen.xml | 14 +- .../main/res/layout/display_error_message.xml | 26 +- android-app/src/main/res/layout/feedback.xml | 14 +- .../src/main/res/layout/fragment_wizard.xml | 10 +- .../res/layout/fragment_wizard_buttons.xml | 13 +- .../main/res/layout/function_add_param.xml | 22 +- .../src/main/res/layout/function_edit.xml | 124 ++++---- .../main/res/layout/function_edit_param.xml | 48 ++-- .../src/main/res/layout/history_edit.xml | 68 ++--- .../src/main/res/layout/history_item.xml | 41 +-- .../src/main/res/layout/main_calculator.xml | 3 +- .../res/layout/main_calculator_mobile.xml | 56 ++-- .../src/main/res/layout/main_empty.xml | 8 +- .../main/res/layout/main_empty_multi_pane.xml | 8 +- .../src/main/res/layout/math_entity.xml | 44 +-- .../main/res/layout/matrix_edit_fragment.xml | 72 ++--- .../res/layout/matrix_edit_fragment_item.xml | 12 +- .../src/main/res/layout/notespp_announce.xml | 14 +- .../src/main/res/layout/onscreen_display.xml | 16 +- .../src/main/res/layout/onscreen_editor.xml | 18 +- .../src/main/res/layout/onscreen_footer.xml | 6 +- .../src/main/res/layout/onscreen_header.xml | 48 ++-- .../src/main/res/layout/onscreen_keyboard.xml | 70 ++--- .../src/main/res/layout/onscreen_layout.xml | 56 ++-- .../res/layout/release_notes_fragment.xml | 20 +- .../main/res/layout/saved_history_item.xml | 18 +- android-app/src/main/res/layout/tabs.xml | 26 +- android-app/src/main/res/layout/var_edit.xml | 118 ++++---- .../src/main/res/layout/widget_display.xml | 14 +- .../src/main/res/layout/widget_editor.xml | 24 +- .../src/main/res/layout/widget_layout.xml | 48 ++-- .../res/layout/widget_layout_lockscreen.xml | 26 +- .../widget_layout_lockscreen_collapsed.xml | 40 +-- .../src/main/res/values-de/strings.xml | 8 - .../src/main/res/values-es/strings.xml | 8 - .../src/main/res/values-es/text_wizard.xml | 1 + .../src/main/res/values-fr/strings.xml | 8 - .../src/main/res/values-it/strings.xml | 8 - .../src/main/res/values-pl/strings.xml | 8 - .../src/main/res/values-pt-rBR/strings.xml | 8 - .../src/main/res/values-pt-rbr/text_about.xml | 25 -- .../main/res/values-pt-rbr/text_functions.xml | 36 --- .../main/res/values-pt-rbr/text_operators.xml | 17 -- .../res/values-pt-rbr/text_preferences.xml | 17 -- .../main/res/values-pt-rbr/text_strings.xml | 266 ------------------ .../src/main/res/values-pt-rbr/text_vars.xml | 17 -- .../main/res/values-pt-rbr/text_wizard.xml | 36 --- .../src/main/res/values-ru/strings.xml | 22 -- .../src/main/res/values-ru/text_strings.xml | 2 + .../src/main/res/values-ru/text_wizard.xml | 8 +- .../src/main/res/values-uk/strings.xml | 8 - android-app/src/main/res/values/strings.xml | 14 - .../src/main/res/values/text_strings.xml | 5 + .../src/main/res/values/text_wizard.xml | 60 ++-- 156 files changed, 1757 insertions(+), 2168 deletions(-) delete mode 100644 android-app/src/main/res/values-de/strings.xml delete mode 100644 android-app/src/main/res/values-es/strings.xml delete mode 100644 android-app/src/main/res/values-fr/strings.xml delete mode 100644 android-app/src/main/res/values-it/strings.xml delete mode 100644 android-app/src/main/res/values-pl/strings.xml delete mode 100644 android-app/src/main/res/values-pt-rBR/strings.xml delete mode 100644 android-app/src/main/res/values-pt-rbr/text_about.xml delete mode 100644 android-app/src/main/res/values-pt-rbr/text_functions.xml delete mode 100644 android-app/src/main/res/values-pt-rbr/text_operators.xml delete mode 100644 android-app/src/main/res/values-pt-rbr/text_preferences.xml delete mode 100644 android-app/src/main/res/values-pt-rbr/text_strings.xml delete mode 100644 android-app/src/main/res/values-pt-rbr/text_vars.xml delete mode 100644 android-app/src/main/res/values-pt-rbr/text_wizard.xml delete mode 100644 android-app/src/main/res/values-ru/strings.xml delete mode 100644 android-app/src/main/res/values-uk/strings.xml delete mode 100644 android-app/src/main/res/values/strings.xml diff --git a/android-app/src/main/java/org/solovyev/android/calculator/release/ChooseThemeReleaseNoteFragment.java b/android-app/src/main/java/org/solovyev/android/calculator/release/ChooseThemeReleaseNoteFragment.java index 51aa99a9..cd1bacc9 100644 --- a/android-app/src/main/java/org/solovyev/android/calculator/release/ChooseThemeReleaseNoteFragment.java +++ b/android-app/src/main/java/org/solovyev/android/calculator/release/ChooseThemeReleaseNoteFragment.java @@ -13,6 +13,6 @@ public class ChooseThemeReleaseNoteFragment extends ChooseThemeWizardStep { super.onViewCreated(root, savedInstanceState); final TextView title = (TextView) root.findViewById(R.id.wizard_theme_title); - title.setText(R.string.release_notes_choose_theme); + title.setText(R.string.cpp_release_notes_choose_theme); } } diff --git a/android-app/src/main/java/org/solovyev/android/calculator/wizard/WizardActivity.java b/android-app/src/main/java/org/solovyev/android/calculator/wizard/WizardActivity.java index a8700784..d4fa9d83 100644 --- a/android-app/src/main/java/org/solovyev/android/calculator/wizard/WizardActivity.java +++ b/android-app/src/main/java/org/solovyev/android/calculator/wizard/WizardActivity.java @@ -120,7 +120,7 @@ public class WizardActivity extends BaseActivity implements WizardsAware, Shared } final AlertDialog.Builder b = new AlertDialog.Builder(this); - b.setTitle(getString(R.string.wizard_finish_confirmation_title)). + b.setTitle(getString(R.string.cpp_wizard_finish_confirmation_title)). setMessage(R.string.cpp_wizard_finish_confirmation). setNegativeButton(R.string.c_no, dialogListener). setPositiveButton(R.string.c_yes, dialogListener). diff --git a/android-app/src/main/java/org/solovyev/android/calculator/wizard/WizardFragment.java b/android-app/src/main/java/org/solovyev/android/calculator/wizard/WizardFragment.java index de6fc3ab..68efe17c 100644 --- a/android-app/src/main/java/org/solovyev/android/calculator/wizard/WizardFragment.java +++ b/android-app/src/main/java/org/solovyev/android/calculator/wizard/WizardFragment.java @@ -79,19 +79,19 @@ public abstract class WizardFragment extends Fragment implements View.OnClickLis final boolean firstTimeWizard = TextUtils.equals(wizard.getName(), CalculatorWizards.FIRST_TIME_WIZARD); if (canGoNext) { if (canGoPrev || !firstTimeWizard) { - setupNextButton(R.string.acl_wizard_next); + setupNextButton(R.string.cpp_wizard_next); } else { - setupNextButton(R.string.acl_wizard_start); + setupNextButton(R.string.cpp_wizard_start); } } else { - setupNextButton(R.string.acl_wizard_finish); + setupNextButton(R.string.cpp_wizard_finish); } if (canGoPrev) { - setupPrevButton(R.string.acl_wizard_back); + setupPrevButton(R.string.cpp_wizard_back); } else { if (firstTimeWizard) { - setupPrevButton(R.string.wizard_skip); + setupPrevButton(R.string.cpp_wizard_skip); } } diff --git a/android-app/src/main/res/layout-land/main_first_pane_mobile.xml b/android-app/src/main/res/layout-land/main_first_pane_mobile.xml index 29c3c845..fccd98f0 100644 --- a/android-app/src/main/res/layout-land/main_first_pane_mobile.xml +++ b/android-app/src/main/res/layout-land/main_first_pane_mobile.xml @@ -22,59 +22,62 @@ ~ Site: http://se.solovyev.org --> + a:layout_width="match_parent" + a:layout_height="match_parent" + a:layout_gravity="center" + a:orientation="vertical"> + a:id="@+id/editorContainer" + a:layout_width="match_parent" + a:layout_height="0dp" + a:layout_weight="2" + a:orientation="horizontal" /> + a:layout_width="match_parent" + a:layout_height="0dp" + a:layout_weight="1" + a:baselineAligned="false"> + layout="@layout/cpp_app_button_left" + a:layout_width="0dp" + a:layout_height="match_parent" + a:layout_weight="1" /> + layout="@layout/cpp_app_button_erase" + a:layout_width="0dp" + a:layout_height="match_parent" + a:layout_weight="1" /> + a:id="@+id/displayContainer" + a:layout_width="0dp" + a:layout_height="match_parent" + a:layout_weight="4" /> + layout="@layout/cpp_app_button_clear" + a:layout_width="0dp" + a:layout_height="match_parent" + a:layout_weight="1" /> + layout="@layout/cpp_app_button_right" + a:layout_width="0dp" + a:layout_height="match_parent" + a:layout_weight="1" /> + a:id="@+id/keyboardContainer" + a:layout_width="match_parent" + a:layout_height="0dp" + a:layout_weight="3" + a:orientation="horizontal" /> diff --git a/android-app/src/main/res/layout/about_fragment.xml b/android-app/src/main/res/layout/about_fragment.xml index 9fed2e3b..70c36a89 100644 --- a/android-app/src/main/res/layout/about_fragment.xml +++ b/android-app/src/main/res/layout/about_fragment.xml @@ -23,9 +23,9 @@ --> + a:layout_height="fill_parent" + a:orientation="vertical"> + a:layout_height="match_parent" + a:text="@string/c_about_content" /> + a:text="@string/cpp_translators_text" /> + a:text="@string/cpp_translators_list" /> diff --git a/android-app/src/main/res/layout/ad.xml b/android-app/src/main/res/layout/ad.xml index f59ae650..8be65613 100644 --- a/android-app/src/main/res/layout/ad.xml +++ b/android-app/src/main/res/layout/ad.xml @@ -22,8 +22,8 @@ ~ Site: http://se.solovyev.org --> - - + a:layout_gravity="center" + a:visibility="gone" + ads:adSize="BANNER" + ads:adUnitId="@string/admob" /> diff --git a/android-app/src/main/res/layout/calc_plot_view.xml b/android-app/src/main/res/layout/calc_plot_view.xml index 6ea70a99..a425745d 100644 --- a/android-app/src/main/res/layout/calc_plot_view.xml +++ b/android-app/src/main/res/layout/calc_plot_view.xml @@ -22,11 +22,11 @@ ~ Site: http://se.solovyev.org --> - + \ No newline at end of file diff --git a/android-app/src/main/res/layout/cpp_activity_settings.xml b/android-app/src/main/res/layout/cpp_activity_settings.xml index a184ad6b..500591c2 100644 --- a/android-app/src/main/res/layout/cpp_activity_settings.xml +++ b/android-app/src/main/res/layout/cpp_activity_settings.xml @@ -1,16 +1,16 @@ + android:layout_height="match_parent" + android:orientation="vertical"> + app:theme="?attr/cpp_toolbar_theme" /> - + android:orientation="vertical" + android:padding="0dp"> + android:layout_height="wrap_content" + android:paddingBottom="10dp" + android:paddingTop="10dp" + my:fillColor="?attr/colorAccent" + my:radius="5dp" /> \ No newline at end of file diff --git a/android-app/src/main/res/layout/cpp_app_button_0.xml b/android-app/src/main/res/layout/cpp_app_button_0.xml index 78169b15..6e4125d0 100644 --- a/android-app/src/main/res/layout/cpp_app_button_0.xml +++ b/android-app/src/main/res/layout/cpp_app_button_0.xml @@ -22,11 +22,14 @@ ~ Site: http://se.solovyev.org --> - \ No newline at end of file + \ No newline at end of file diff --git a/android-app/src/main/res/layout/cpp_app_button_1.xml b/android-app/src/main/res/layout/cpp_app_button_1.xml index 64731c97..c5d40e64 100644 --- a/android-app/src/main/res/layout/cpp_app_button_1.xml +++ b/android-app/src/main/res/layout/cpp_app_button_1.xml @@ -22,11 +22,14 @@ ~ Site: http://se.solovyev.org --> - \ No newline at end of file + \ No newline at end of file diff --git a/android-app/src/main/res/layout/cpp_app_button_2.xml b/android-app/src/main/res/layout/cpp_app_button_2.xml index 9404148d..412e0b6a 100644 --- a/android-app/src/main/res/layout/cpp_app_button_2.xml +++ b/android-app/src/main/res/layout/cpp_app_button_2.xml @@ -22,11 +22,14 @@ ~ Site: http://se.solovyev.org --> - \ No newline at end of file + \ No newline at end of file diff --git a/android-app/src/main/res/layout/cpp_app_button_3.xml b/android-app/src/main/res/layout/cpp_app_button_3.xml index b56b7bf4..fb3a5ecf 100644 --- a/android-app/src/main/res/layout/cpp_app_button_3.xml +++ b/android-app/src/main/res/layout/cpp_app_button_3.xml @@ -22,11 +22,14 @@ ~ Site: http://se.solovyev.org --> - \ No newline at end of file + \ No newline at end of file diff --git a/android-app/src/main/res/layout/cpp_app_button_4.xml b/android-app/src/main/res/layout/cpp_app_button_4.xml index 7e222325..d1e6367f 100644 --- a/android-app/src/main/res/layout/cpp_app_button_4.xml +++ b/android-app/src/main/res/layout/cpp_app_button_4.xml @@ -21,11 +21,14 @@ ~ Email: se.solovyev@gmail.com ~ Site: http://se.solovyev.org --> - \ No newline at end of file + \ No newline at end of file diff --git a/android-app/src/main/res/layout/cpp_app_button_5.xml b/android-app/src/main/res/layout/cpp_app_button_5.xml index 6696b00e..abceb96f 100644 --- a/android-app/src/main/res/layout/cpp_app_button_5.xml +++ b/android-app/src/main/res/layout/cpp_app_button_5.xml @@ -21,11 +21,14 @@ ~ Email: se.solovyev@gmail.com ~ Site: http://se.solovyev.org --> - \ No newline at end of file + \ No newline at end of file diff --git a/android-app/src/main/res/layout/cpp_app_button_6.xml b/android-app/src/main/res/layout/cpp_app_button_6.xml index 8edf82f9..2cec491f 100644 --- a/android-app/src/main/res/layout/cpp_app_button_6.xml +++ b/android-app/src/main/res/layout/cpp_app_button_6.xml @@ -22,12 +22,15 @@ ~ Site: http://se.solovyev.org --> - \ No newline at end of file + \ No newline at end of file diff --git a/android-app/src/main/res/layout/cpp_app_button_7.xml b/android-app/src/main/res/layout/cpp_app_button_7.xml index 4654e753..824f17a4 100644 --- a/android-app/src/main/res/layout/cpp_app_button_7.xml +++ b/android-app/src/main/res/layout/cpp_app_button_7.xml @@ -22,12 +22,15 @@ ~ Site: http://se.solovyev.org --> - \ No newline at end of file + \ No newline at end of file diff --git a/android-app/src/main/res/layout/cpp_app_button_8.xml b/android-app/src/main/res/layout/cpp_app_button_8.xml index 2dea06ed..935dfd61 100644 --- a/android-app/src/main/res/layout/cpp_app_button_8.xml +++ b/android-app/src/main/res/layout/cpp_app_button_8.xml @@ -22,12 +22,15 @@ ~ Site: http://se.solovyev.org --> - \ No newline at end of file + \ No newline at end of file diff --git a/android-app/src/main/res/layout/cpp_app_button_9.xml b/android-app/src/main/res/layout/cpp_app_button_9.xml index 00c1aec5..c60a1492 100644 --- a/android-app/src/main/res/layout/cpp_app_button_9.xml +++ b/android-app/src/main/res/layout/cpp_app_button_9.xml @@ -22,12 +22,15 @@ ~ Site: http://se.solovyev.org --> - \ No newline at end of file + \ No newline at end of file diff --git a/android-app/src/main/res/layout/cpp_app_button_clear.xml b/android-app/src/main/res/layout/cpp_app_button_clear.xml index 406853fa..954e70ff 100644 --- a/android-app/src/main/res/layout/cpp_app_button_clear.xml +++ b/android-app/src/main/res/layout/cpp_app_button_clear.xml @@ -22,12 +22,13 @@ ~ Site: http://se.solovyev.org --> - \ No newline at end of file + \ No newline at end of file diff --git a/android-app/src/main/res/layout/cpp_app_button_copy.xml b/android-app/src/main/res/layout/cpp_app_button_copy.xml index 4001d448..5891e61d 100644 --- a/android-app/src/main/res/layout/cpp_app_button_copy.xml +++ b/android-app/src/main/res/layout/cpp_app_button_copy.xml @@ -22,7 +22,8 @@ ~ Site: http://se.solovyev.org --> - \ No newline at end of file + \ No newline at end of file diff --git a/android-app/src/main/res/layout/cpp_app_button_division.xml b/android-app/src/main/res/layout/cpp_app_button_division.xml index 81e7deba..d8c04ee3 100644 --- a/android-app/src/main/res/layout/cpp_app_button_division.xml +++ b/android-app/src/main/res/layout/cpp_app_button_division.xml @@ -22,11 +22,14 @@ ~ Site: http://se.solovyev.org --> - \ No newline at end of file + \ No newline at end of file diff --git a/android-app/src/main/res/layout/cpp_app_button_donate.xml b/android-app/src/main/res/layout/cpp_app_button_donate.xml index b2f8c90d..2f7bedbe 100644 --- a/android-app/src/main/res/layout/cpp_app_button_donate.xml +++ b/android-app/src/main/res/layout/cpp_app_button_donate.xml @@ -22,7 +22,8 @@ ~ Site: http://se.solovyev.org --> - \ No newline at end of file + \ No newline at end of file diff --git a/android-app/src/main/res/layout/cpp_app_button_dot.xml b/android-app/src/main/res/layout/cpp_app_button_dot.xml index 1db91357..24ecde50 100644 --- a/android-app/src/main/res/layout/cpp_app_button_dot.xml +++ b/android-app/src/main/res/layout/cpp_app_button_dot.xml @@ -22,10 +22,13 @@ ~ Site: http://se.solovyev.org --> - \ No newline at end of file + \ No newline at end of file diff --git a/android-app/src/main/res/layout/cpp_app_button_empty.xml b/android-app/src/main/res/layout/cpp_app_button_empty.xml index d37328e8..b9f9c21d 100644 --- a/android-app/src/main/res/layout/cpp_app_button_empty.xml +++ b/android-app/src/main/res/layout/cpp_app_button_empty.xml @@ -21,4 +21,4 @@ ~ Email: se.solovyev@gmail.com ~ Site: http://se.solovyev.org --> - \ No newline at end of file + \ No newline at end of file diff --git a/android-app/src/main/res/layout/cpp_app_button_equals.xml b/android-app/src/main/res/layout/cpp_app_button_equals.xml index 615c3d9e..15934ba8 100644 --- a/android-app/src/main/res/layout/cpp_app_button_equals.xml +++ b/android-app/src/main/res/layout/cpp_app_button_equals.xml @@ -21,11 +21,14 @@ ~ Email: se.solovyev@gmail.com ~ Site: http://se.solovyev.org --> - \ No newline at end of file + \ No newline at end of file diff --git a/android-app/src/main/res/layout/cpp_app_button_equals_no_bg.xml b/android-app/src/main/res/layout/cpp_app_button_equals_no_bg.xml index 6f7b84d7..d0e1975b 100644 --- a/android-app/src/main/res/layout/cpp_app_button_equals_no_bg.xml +++ b/android-app/src/main/res/layout/cpp_app_button_equals_no_bg.xml @@ -21,14 +21,17 @@ ~ Email: se.solovyev@gmail.com ~ Site: http://se.solovyev.org --> - \ No newline at end of file + c:textUp="≡" + tools:ignore="HardcodedText" /> \ No newline at end of file diff --git a/android-app/src/main/res/layout/cpp_app_button_erase.xml b/android-app/src/main/res/layout/cpp_app_button_erase.xml index 351938ec..92d5e850 100644 --- a/android-app/src/main/res/layout/cpp_app_button_erase.xml +++ b/android-app/src/main/res/layout/cpp_app_button_erase.xml @@ -22,7 +22,8 @@ ~ Site: http://se.solovyev.org --> - \ No newline at end of file + \ No newline at end of file diff --git a/android-app/src/main/res/layout/cpp_app_button_functions.xml b/android-app/src/main/res/layout/cpp_app_button_functions.xml index c2cf5977..b0910b5e 100644 --- a/android-app/src/main/res/layout/cpp_app_button_functions.xml +++ b/android-app/src/main/res/layout/cpp_app_button_functions.xml @@ -22,11 +22,14 @@ ~ Site: http://se.solovyev.org --> - \ No newline at end of file + \ No newline at end of file diff --git a/android-app/src/main/res/layout/cpp_app_button_history.xml b/android-app/src/main/res/layout/cpp_app_button_history.xml index 795b853f..24bc56fa 100644 --- a/android-app/src/main/res/layout/cpp_app_button_history.xml +++ b/android-app/src/main/res/layout/cpp_app_button_history.xml @@ -21,12 +21,13 @@ ~ Email: se.solovyev@gmail.com ~ Site: http://se.solovyev.org --> - \ No newline at end of file + \ No newline at end of file diff --git a/android-app/src/main/res/layout/cpp_app_button_left.xml b/android-app/src/main/res/layout/cpp_app_button_left.xml index 366ed24b..7b647308 100644 --- a/android-app/src/main/res/layout/cpp_app_button_left.xml +++ b/android-app/src/main/res/layout/cpp_app_button_left.xml @@ -22,10 +22,13 @@ ~ Site: http://se.solovyev.org --> - \ No newline at end of file + \ No newline at end of file diff --git a/android-app/src/main/res/layout/cpp_app_button_minus.xml b/android-app/src/main/res/layout/cpp_app_button_minus.xml index a002ace1..18e327e5 100644 --- a/android-app/src/main/res/layout/cpp_app_button_minus.xml +++ b/android-app/src/main/res/layout/cpp_app_button_minus.xml @@ -21,10 +21,13 @@ ~ Email: se.solovyev@gmail.com ~ Site: http://se.solovyev.org --> - \ No newline at end of file + \ No newline at end of file diff --git a/android-app/src/main/res/layout/cpp_app_button_multiplication.xml b/android-app/src/main/res/layout/cpp_app_button_multiplication.xml index 5b796e09..79839521 100644 --- a/android-app/src/main/res/layout/cpp_app_button_multiplication.xml +++ b/android-app/src/main/res/layout/cpp_app_button_multiplication.xml @@ -22,12 +22,15 @@ ~ Site: http://se.solovyev.org --> - \ No newline at end of file + \ No newline at end of file diff --git a/android-app/src/main/res/layout/cpp_app_button_operators.xml b/android-app/src/main/res/layout/cpp_app_button_operators.xml index ddfb85aa..b196cbd1 100644 --- a/android-app/src/main/res/layout/cpp_app_button_operators.xml +++ b/android-app/src/main/res/layout/cpp_app_button_operators.xml @@ -22,7 +22,10 @@ ~ Site: http://se.solovyev.org --> - \ No newline at end of file + \ No newline at end of file diff --git a/android-app/src/main/res/layout/cpp_app_button_paste.xml b/android-app/src/main/res/layout/cpp_app_button_paste.xml index 46eada43..3ac8c32e 100644 --- a/android-app/src/main/res/layout/cpp_app_button_paste.xml +++ b/android-app/src/main/res/layout/cpp_app_button_paste.xml @@ -22,7 +22,8 @@ ~ Site: http://se.solovyev.org --> - \ No newline at end of file + \ No newline at end of file diff --git a/android-app/src/main/res/layout/cpp_app_button_plus.xml b/android-app/src/main/res/layout/cpp_app_button_plus.xml index 8e325228..7cd3ccf6 100644 --- a/android-app/src/main/res/layout/cpp_app_button_plus.xml +++ b/android-app/src/main/res/layout/cpp_app_button_plus.xml @@ -21,11 +21,14 @@ ~ Email: se.solovyev@gmail.com ~ Site: http://se.solovyev.org --> - \ No newline at end of file + \ No newline at end of file diff --git a/android-app/src/main/res/layout/cpp_app_button_right.xml b/android-app/src/main/res/layout/cpp_app_button_right.xml index e8a44f7e..8db1df8a 100644 --- a/android-app/src/main/res/layout/cpp_app_button_right.xml +++ b/android-app/src/main/res/layout/cpp_app_button_right.xml @@ -22,10 +22,13 @@ ~ Site: http://se.solovyev.org --> - \ No newline at end of file + \ No newline at end of file diff --git a/android-app/src/main/res/layout/cpp_app_button_round_brackets.xml b/android-app/src/main/res/layout/cpp_app_button_round_brackets.xml index eddb52dd..c9a0bad3 100644 --- a/android-app/src/main/res/layout/cpp_app_button_round_brackets.xml +++ b/android-app/src/main/res/layout/cpp_app_button_round_brackets.xml @@ -22,12 +22,15 @@ ~ Site: http://se.solovyev.org --> - \ No newline at end of file + \ No newline at end of file diff --git a/android-app/src/main/res/layout/cpp_app_button_vars.xml b/android-app/src/main/res/layout/cpp_app_button_vars.xml index f57b82b9..015021e8 100644 --- a/android-app/src/main/res/layout/cpp_app_button_vars.xml +++ b/android-app/src/main/res/layout/cpp_app_button_vars.xml @@ -22,11 +22,14 @@ ~ Site: http://se.solovyev.org --> - \ No newline at end of file + \ No newline at end of file diff --git a/android-app/src/main/res/layout/cpp_app_display.xml b/android-app/src/main/res/layout/cpp_app_display.xml index ebbd962e..d5784cae 100644 --- a/android-app/src/main/res/layout/cpp_app_display.xml +++ b/android-app/src/main/res/layout/cpp_app_display.xml @@ -22,11 +22,12 @@ ~ Site: http://se.solovyev.org --> - \ No newline at end of file + \ No newline at end of file diff --git a/android-app/src/main/res/layout/cpp_app_display_mobile.xml b/android-app/src/main/res/layout/cpp_app_display_mobile.xml index ebbd962e..e2bf4179 100644 --- a/android-app/src/main/res/layout/cpp_app_display_mobile.xml +++ b/android-app/src/main/res/layout/cpp_app_display_mobile.xml @@ -22,11 +22,11 @@ ~ Site: http://se.solovyev.org --> - \ No newline at end of file + \ No newline at end of file diff --git a/android-app/src/main/res/layout/cpp_app_editor.xml b/android-app/src/main/res/layout/cpp_app_editor.xml index 23ac6fd9..e89248da 100644 --- a/android-app/src/main/res/layout/cpp_app_editor.xml +++ b/android-app/src/main/res/layout/cpp_app_editor.xml @@ -22,19 +22,19 @@ ~ Site: http://se.solovyev.org --> - + + a:id="@+id/calculator_editor" + style="@style/CppText.Editor" + a:hint="@string/c_calc_editor_hint" + a:scrollbars="vertical" + a:singleLine="false" + a:textIsSelectable="true" /> \ No newline at end of file diff --git a/android-app/src/main/res/layout/cpp_app_editor_mobile.xml b/android-app/src/main/res/layout/cpp_app_editor_mobile.xml index b6d18512..9d2c7ebf 100644 --- a/android-app/src/main/res/layout/cpp_app_editor_mobile.xml +++ b/android-app/src/main/res/layout/cpp_app_editor_mobile.xml @@ -22,19 +22,19 @@ ~ Site: http://se.solovyev.org --> - + + a:id="@+id/calculator_editor" + style="@style/CppText.Editor.Mobile" + a:hint="@string/c_calc_editor_hint" + a:scrollbars="vertical" + a:singleLine="false" + a:textIsSelectable="true" /> \ No newline at end of file diff --git a/android-app/src/main/res/layout/cpp_app_keyboard.xml b/android-app/src/main/res/layout/cpp_app_keyboard.xml index 4f3ce878..02c57213 100644 --- a/android-app/src/main/res/layout/cpp_app_keyboard.xml +++ b/android-app/src/main/res/layout/cpp_app_keyboard.xml @@ -23,93 +23,93 @@ --> + a:layout_width="match_parent" + a:layout_height="match_parent" + a:orientation="vertical"> + a:layout_width="match_parent" + a:layout_height="0dp" + a:layout_weight="1"> - + - + - + - + - + + a:layout_width="match_parent" + a:layout_height="0dp" + a:layout_weight="1"> - + - + - + - + - + + a:layout_width="match_parent" + a:layout_height="0dp" + a:layout_weight="1"> - + - + - + - + - + + a:layout_width="match_parent" + a:layout_height="0dp" + a:layout_weight="1"> - + - + - + - + - + + a:layout_width="match_parent" + a:layout_height="0dp" + a:layout_weight="1"> - + - + - + - + - + diff --git a/android-app/src/main/res/layout/cpp_app_keyboard_mobile.xml b/android-app/src/main/res/layout/cpp_app_keyboard_mobile.xml index 4f3ce878..02c57213 100644 --- a/android-app/src/main/res/layout/cpp_app_keyboard_mobile.xml +++ b/android-app/src/main/res/layout/cpp_app_keyboard_mobile.xml @@ -23,93 +23,93 @@ --> + a:layout_width="match_parent" + a:layout_height="match_parent" + a:orientation="vertical"> + a:layout_width="match_parent" + a:layout_height="0dp" + a:layout_weight="1"> - + - + - + - + - + + a:layout_width="match_parent" + a:layout_height="0dp" + a:layout_weight="1"> - + - + - + - + - + + a:layout_width="match_parent" + a:layout_height="0dp" + a:layout_weight="1"> - + - + - + - + - + + a:layout_width="match_parent" + a:layout_height="0dp" + a:layout_weight="1"> - + - + - + - + - + + a:layout_width="match_parent" + a:layout_height="0dp" + a:layout_weight="1"> - + - + - + - + - + diff --git a/android-app/src/main/res/layout/cpp_dialog.xml b/android-app/src/main/res/layout/cpp_dialog.xml index 1b1e65c9..68099d7a 100644 --- a/android-app/src/main/res/layout/cpp_dialog.xml +++ b/android-app/src/main/res/layout/cpp_dialog.xml @@ -22,9 +22,9 @@ ~ Site: http://se.solovyev.org --> - + \ No newline at end of file diff --git a/android-app/src/main/res/layout/cpp_dialog_fragment.xml b/android-app/src/main/res/layout/cpp_dialog_fragment.xml index fbd5bfa6..ea5c6c1b 100644 --- a/android-app/src/main/res/layout/cpp_dialog_fragment.xml +++ b/android-app/src/main/res/layout/cpp_dialog_fragment.xml @@ -22,40 +22,40 @@ ~ Site: http://se.solovyev.org --> - + + a:id="@+id/cpp_dialog_message_textview" + a:layout_width="match_parent" + a:layout_height="wrap_content" + a:maxLines="10" + a:scrollbars="vertical" /> + +