Lint issues fixed

This commit is contained in:
serso 2015-02-18 22:59:17 +01:00
parent f8cf95c431
commit 9fc1ee214c
5 changed files with 43 additions and 34 deletions

View File

@ -23,12 +23,14 @@
--> -->
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:layout_width="wrap_content" a:layout_width="wrap_content"
a:layout_height="wrap_content" a:layout_height="wrap_content"
a:background="?attr/cpp_main_bg" a:background="?attr/cpp_main_bg"
a:minWidth="200dp" a:minWidth="200dp"
a:orientation="vertical" a:orientation="vertical"
a:padding="3dp"> a:padding="3dp"
tools:ignore="Overdraw">
<LinearLayout <LinearLayout
a:layout_width="match_parent" a:layout_width="match_parent"
@ -42,7 +44,8 @@
a:layout_width="0dp" a:layout_width="0dp"
a:layout_height="match_parent" a:layout_height="match_parent"
a:layout_weight="2" a:layout_weight="2"
a:text="3.1415" /> a:text="3.1415"
tools:ignore="HardcodedText"/>
</LinearLayout> </LinearLayout>

View File

@ -39,7 +39,8 @@
<LinearLayout <LinearLayout
a:layout_width="match_parent" a:layout_width="match_parent"
a:layout_height="0dp" a:layout_height="0dp"
a:layout_weight="1"> a:layout_weight="1"
a:baselineAligned="false">
<include <include
layout="@layout/cpp_app_button_equals_no_bg" layout="@layout/cpp_app_button_equals_no_bg"

View File

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

View File

@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout style="@style/CppMain.Widget" <LinearLayout
style="@style/CppMain.Widget"
xmlns:a="http://schemas.android.com/apk/res/android" xmlns:a="http://schemas.android.com/apk/res/android"
a:layout_width="match_parent" a:layout_width="match_parent"
a:layout_height="match_parent" a:layout_height="match_parent"

View File

@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout style="@style/CppMain.Widget" <LinearLayout
style="@style/CppMain.Widget"
xmlns:a="http://schemas.android.com/apk/res/android" xmlns:a="http://schemas.android.com/apk/res/android"
a:layout_width="match_parent" a:layout_width="match_parent"
a:layout_height="match_parent" a:layout_height="match_parent"
@ -15,7 +16,8 @@
<LinearLayout <LinearLayout
a:layout_width="match_parent" a:layout_width="match_parent"
a:layout_height="0dp" a:layout_height="0dp"
a:layout_weight="1"> a:layout_weight="1"
a:baselineAligned="false">
<include <include
layout="@layout/cpp_simple_button_equals" layout="@layout/cpp_simple_button_equals"