Lint issues

This commit is contained in:
serso
2016-03-27 13:35:42 +02:00
parent 30877e1337
commit 259ec5a77f
75 changed files with 35 additions and 608 deletions

View File

@@ -22,7 +22,7 @@
~ Site: http://se.solovyev.org
-->
<LinearLayout
<LinearLayout xmlns:tools="http://schemas.android.com/tools"
a:id="@+id/main"
style="@style/CppMain"
xmlns:a="http://schemas.android.com/apk/res/android"
@@ -43,7 +43,8 @@
layout="@layout/cpp_app_button_equals_no_bg"
a:layout_width="0dp"
a:layout_height="match_parent"
a:layout_weight="1" />
a:layout_weight="1"
tools:ignore="NestedWeights" />
<FrameLayout
a:id="@+id/display"

View File

@@ -54,6 +54,6 @@
a:text="9"
c:directionTextDown="^2"
c:directionTextUp="%"
tools:ignore="HardcodedText" />
tools:ignore="HardcodedText,InefficientWeight" />
</LinearLayout>

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
style="@style/CppMain.Onscreen"
a:orientation="vertical">
@@ -29,7 +30,8 @@
layout="@layout/cpp_simple_button_equals"
a:layout_width="0dp"
a:layout_height="match_parent"
a:layout_weight="1" />
a:layout_weight="1"
tools:ignore="NestedWeights" />
<include
layout="@layout/onscreen_display"

View File

@@ -2,6 +2,7 @@
<LinearLayout
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
style="@style/CppMain.Onscreen"
a:orientation="vertical">
@@ -30,7 +31,8 @@
layout="@layout/cpp_simple_button_equals_material"
a:layout_width="0dp"
a:layout_height="match_parent"
a:layout_weight="1" />
a:layout_weight="1"
tools:ignore="NestedWeights" />
<include
layout="@layout/onscreen_display"

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
style="@style/CppMain.Onscreen.Light"
a:orientation="vertical">
@@ -29,7 +30,8 @@
layout="@layout/cpp_simple_button_equals_material_light"
a:layout_width="0dp"
a:layout_height="match_parent"
a:layout_weight="1" />
a:layout_weight="1"
tools:ignore="NestedWeights" />
<include
layout="@layout/onscreen_display_light"

View File

@@ -2,6 +2,7 @@
<LinearLayout
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
style="@style/CppMain.Widget"
a:layout_width="match_parent"
a:layout_height="match_parent"
@@ -23,7 +24,8 @@
layout="@layout/cpp_simple_button_equals"
a:layout_width="0dp"
a:layout_height="match_parent"
a:layout_weight="1" />
a:layout_weight="1"
tools:ignore="NestedWeights" />
<include
layout="@layout/widget_display"

View File

@@ -2,6 +2,7 @@
<LinearLayout
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
style="@style/CppMain.Widget"
a:layout_width="match_parent"
a:layout_height="match_parent"
@@ -23,7 +24,8 @@
layout="@layout/cpp_simple_button_equals"
a:layout_width="0dp"
a:layout_height="match_parent"
a:layout_weight="1" />
a:layout_weight="1"
tools:ignore="NestedWeights" />
<include
layout="@layout/widget_display"

View File

@@ -2,6 +2,7 @@
<LinearLayout
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
style="@style/CppMain.Widget"
a:layout_width="match_parent"
a:layout_height="match_parent"
@@ -22,7 +23,8 @@
a:layout_width="0dp"
a:layout_weight="3"
a:gravity="center_vertical|left"
a:textSize="@dimen/cpp_widget_editor_text_size_collapsed" />
a:textSize="@dimen/cpp_widget_editor_text_size_collapsed"
tools:ignore="NestedWeights" />
<include
layout="@layout/cpp_simple_button_equals"

View File

@@ -2,6 +2,7 @@
<LinearLayout
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
style="@style/CppMain.Widget"
a:layout_width="match_parent"
a:layout_height="match_parent"
@@ -23,7 +24,8 @@
layout="@layout/cpp_simple_button_equals_material"
a:layout_width="0dp"
a:layout_height="match_parent"
a:layout_weight="1" />
a:layout_weight="1"
tools:ignore="NestedWeights" />
<include
layout="@layout/widget_display"

View File

@@ -2,6 +2,7 @@
<LinearLayout
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
style="@style/CppMain.Widget.Light"
a:layout_width="match_parent"
a:layout_height="match_parent"
@@ -23,7 +24,8 @@
layout="@layout/cpp_simple_button_equals_material_light"
a:layout_width="0dp"
a:layout_height="match_parent"
a:layout_weight="1" />
a:layout_weight="1"
tools:ignore="NestedWeights" />
<include
layout="@layout/widget_display_light"