Cleanup, some lint issues fixes

This commit is contained in:
serso
2015-02-19 11:23:07 +01:00
parent c4a5ee38ab
commit 423dcb6fbe
34 changed files with 33 additions and 456 deletions

View File

@@ -1,32 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2013 serso aka se.solovyev
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
~
~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ Contact details
~
~ Email: se.solovyev@gmail.com
~ Site: http://se.solovyev.org
-->
<LinearLayout a:id="@+id/plot_view_container"
xmlns:a="http://schemas.android.com/apk/res/android"
a:layout_width="fill_parent"
a:layout_height="fill_parent"
a:orientation="vertical">
</LinearLayout>

View File

@@ -1,29 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2013 serso aka se.solovyev
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
~
~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ Contact details
~
~ Email: se.solovyev@gmail.com
~ Site: http://se.solovyev.org
-->
<ImageButton a:id="@id/cpp_button_like"
style="@style/cpp_simple_metro_control_image_button_style"
xmlns:a="http://schemas.android.com/apk/res/android"
a:contentDescription="Like"
a:src="@drawable/kb_share" />

View File

@@ -78,15 +78,6 @@
a:orientation="horizontal"
a:paddingBottom="10dp">
<Button
a:id="@+id/unit_converter_ok_button"
a:layout_width="wrap_content"
a:layout_height="wrap_content"
a:paddingLeft="15dp"
a:paddingRight="15dp"
a:singleLine="true"
a:text="@android:string/ok" />
<Button
a:id="@+id/unit_converter_copy_button"
a:layout_width="wrap_content"
@@ -105,6 +96,15 @@
a:paddingRight="15dp"
a:singleLine="true" />
<Button
a:id="@+id/unit_converter_ok_button"
a:layout_width="wrap_content"
a:layout_height="wrap_content"
a:paddingLeft="15dp"
a:paddingRight="15dp"
a:singleLine="true"
a:text="@android:string/ok" />
</LinearLayout>
</LinearLayout>

View File

@@ -1,35 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2013 serso aka se.solovyev
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
~
~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ Contact details
~
~ Email: se.solovyev@gmail.com
~ Site: http://se.solovyev.org
-->
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
a:layout_width="match_parent"
a:layout_height="match_parent"
a:orientation="vertical">
<WebView
a:id="@+id/cpp_wiki_webview"
a:layout_width="match_parent"
a:layout_height="match_parent" />
</LinearLayout>

View File

@@ -1,66 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2013 serso aka se.solovyev
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
~
~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ Contact details
~
~ Email: se.solovyev@gmail.com
~ Site: http://se.solovyev.org
-->
<LinearLayout a:id="@+id/wizard_layout"
style="@style/CppDialog"
xmlns:a="http://schemas.android.com/apk/res/android"
a:orientation="vertical">
<FrameLayout
a:id="@id/acl_wizard_content"
a:layout_width="match_parent"
a:layout_height="0dp"
a:layout_weight="1"
a:gravity="center"
a:orientation="vertical"
a:padding="6dp" />
<LinearLayout
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:orientation="horizontal">
<Button
a:id="@id/acl_wizard_prev_button"
a:layout_width="0dp"
a:layout_height="wrap_content"
a:layout_weight="1"
a:lines="1"
a:maxLines="1"
a:singleLine="true"
a:text="@string/cpp_wizard_back" />
<Button
a:id="@id/acl_wizard_next_button"
a:layout_width="0dp"
a:layout_height="wrap_content"
a:layout_weight="1"
a:lines="1"
a:maxLines="1"
a:singleLine="true"
a:text="@string/cpp_wizard_next" />
</LinearLayout>
</LinearLayout>

View File

@@ -1,30 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2013 serso aka se.solovyev
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
~
~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ Contact details
~
~ Email: se.solovyev@gmail.com
~ Site: http://se.solovyev.org
-->
<LinearLayout a:id="@+id/main_layout"
style="@style/CppMain.Multipane"
xmlns:a="http://schemas.android.com/apk/res/android"
a:orientation="vertical">
</LinearLayout>

View File

@@ -22,36 +22,23 @@
~ Site: http://se.solovyev.org
-->
<LinearLayout style="@style/CppListViewItem"
<LinearLayout
style="@style/CppListViewItem"
xmlns:a="http://schemas.android.com/apk/res/android"
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:orientation="horizontal">
a:orientation="vertical">
<LinearLayout
a:layout_width="0dp"
a:layout_height="wrap_content"
a:layout_weight="1"
a:orientation="vertical">
<TextView
a:id="@+id/math_entity_text"
style="@style/CppListViewItemTextPrimary"
a:layout_width="match_parent"
a:layout_height="wrap_content"/>
<TextView
a:id="@+id/math_entity_text"
style="@style/CppListViewItemTextPrimary"
a:layout_width="match_parent"
a:layout_height="wrap_content" />
<TextView
a:id="@+id/math_entity_short_description"
style="@style/CppListViewItemTextSecondary"
a:layout_width="match_parent"
a:layout_height="wrap_content" />
</LinearLayout>
<ImageView
a:id="@+id/math_entity_description_imageview"
a:layout_width="wrap_content"
a:layout_height="match_parent"
a:scaleType="centerInside"
a:visibility="gone" />
<TextView
a:id="@+id/math_entity_short_description"
style="@style/CppListViewItemTextSecondary"
a:layout_width="match_parent"
a:layout_height="wrap_content"/>
</LinearLayout>

View File

@@ -1,35 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2013 serso aka se.solovyev
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
~
~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ Contact details
~
~ Email: se.solovyev@gmail.com
~ Site: http://se.solovyev.org
-->
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
a:layout_width="match_parent"
a:layout_height="match_parent">
<EditText
a:id="@+id/matrix_element_edittext"
a:layout_width="match_parent"
a:layout_height="match_parent"
a:text="test" />
</LinearLayout>

View File

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