From 9fc1ee214c865dfa9a11986a0d516fe974953e09 Mon Sep 17 00:00:00 2001 From: serso Date: Wed, 18 Feb 2015 22:59:17 +0100 Subject: [PATCH] Lint issues fixed --- .../cpp_wizard_step_choose_theme_preview.xml | 31 ++++++++++--------- .../res/layout/main_calculator_mobile.xml | 3 +- .../src/main/res/layout/onscreen_layout.xml | 18 ++++++----- .../src/main/res/layout/widget_layout.xml | 11 ++++--- .../res/layout/widget_layout_lockscreen.xml | 14 +++++---- 5 files changed, 43 insertions(+), 34 deletions(-) diff --git a/android-app/src/main/res/layout/cpp_wizard_step_choose_theme_preview.xml b/android-app/src/main/res/layout/cpp_wizard_step_choose_theme_preview.xml index 2fc66705..98335ff9 100644 --- a/android-app/src/main/res/layout/cpp_wizard_step_choose_theme_preview.xml +++ b/android-app/src/main/res/layout/cpp_wizard_step_choose_theme_preview.xml @@ -23,26 +23,29 @@ --> + xmlns:tools="http://schemas.android.com/tools" + a:layout_width="wrap_content" + a:layout_height="wrap_content" + a:background="?attr/cpp_main_bg" + a:minWidth="200dp" + a:orientation="vertical" + a:padding="3dp" + tools:ignore="Overdraw"> - + + a:text="3.1415" + tools:ignore="HardcodedText"/> @@ -51,11 +54,11 @@ a:layout_height="wrap_content" a:orientation="horizontal"> - + - + - + @@ -64,11 +67,11 @@ a:layout_height="wrap_content" a:orientation="horizontal"> - + - + - + \ No newline at end of file diff --git a/android-app/src/main/res/layout/main_calculator_mobile.xml b/android-app/src/main/res/layout/main_calculator_mobile.xml index b3735d2b..149acc8e 100644 --- a/android-app/src/main/res/layout/main_calculator_mobile.xml +++ b/android-app/src/main/res/layout/main_calculator_mobile.xml @@ -39,7 +39,8 @@ + a:layout_weight="1" + a:baselineAligned="false"> - + layout="@layout/onscreen_header"/> + a:layout_height="wrap_content"/> + a:layout_weight="1" + a:baselineAligned="false"> + a:layout_weight="1"/> + a:layout_weight="4"/> @@ -42,9 +44,9 @@ layout="@layout/onscreen_keyboard" a:layout_width="match_parent" a:layout_height="0dp" - a:layout_weight="4" /> + a:layout_weight="4"/> - + \ No newline at end of file diff --git a/android-app/src/main/res/layout/widget_layout.xml b/android-app/src/main/res/layout/widget_layout.xml index 36f51bb8..ad9e2064 100644 --- a/android-app/src/main/res/layout/widget_layout.xml +++ b/android-app/src/main/res/layout/widget_layout.xml @@ -1,6 +1,7 @@ - + a:layout_weight="2"/> + a:layout_weight="1"/> + a:layout_weight="5"/> @@ -35,6 +36,6 @@ layout="@layout/cpp_simple_keyboard" a:layout_width="match_parent" a:layout_height="0dp" - a:layout_weight="5" /> + a:layout_weight="5"/> \ No newline at end of file diff --git a/android-app/src/main/res/layout/widget_layout_lockscreen.xml b/android-app/src/main/res/layout/widget_layout_lockscreen.xml index e86c2761..44c281f4 100644 --- a/android-app/src/main/res/layout/widget_layout_lockscreen.xml +++ b/android-app/src/main/res/layout/widget_layout_lockscreen.xml @@ -1,6 +1,7 @@ - + a:layout_weight="2"/> + a:layout_weight="1" + a:baselineAligned="false"> + a:layout_weight="1"/> + a:layout_weight="5"/> @@ -35,6 +37,6 @@ layout="@layout/cpp_simple_keyboard_lockscreen" a:layout_width="match_parent" a:layout_height="0dp" - a:layout_weight="4" /> + a:layout_weight="4"/> \ No newline at end of file