From 0e5b211082dfcc898314ff98a44721840db83929 Mon Sep 17 00:00:00 2001 From: Georg Lukas Date: Mon, 1 Mar 2021 09:45:12 +0100 Subject: [PATCH] Manifest and XMLs: fix various linter errors --- AndroidManifest.xml | 11 ++++++----- res/layout/buttons.xml | 1 - res/layout/main.xml | 4 +--- res/layout/message_act.xml | 6 ++---- res/layout/prefsymbol.xml | 4 +--- res/layout/stationactivity.xml | 4 +--- 6 files changed, 11 insertions(+), 19 deletions(-) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 8524d5d..17fb147 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -1,9 +1,8 @@ + xmlns:tools="http://schemas.android.com/tools" + package="org.aprsdroid.app" + android:installLocation="auto"> @@ -28,6 +27,7 @@ - + diff --git a/res/layout/buttons.xml b/res/layout/buttons.xml index 43e995f..2569a59 100644 --- a/res/layout/buttons.xml +++ b/res/layout/buttons.xml @@ -14,6 +14,5 @@ android:layout_weight="1" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/startlog" -android:layout_below="@+id/singlebtn" /> diff --git a/res/layout/main.xml b/res/layout/main.xml index 4698419..b2ce706 100644 --- a/res/layout/main.xml +++ b/res/layout/main.xml @@ -25,9 +25,7 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/buttonlayout" android:layout_width="fill_parent" android:layout_height="wrap_content" -android:orientation="horizontal" -xmlns:android="http://schemas.android.com/apk/res/android" -> +android:orientation="horizontal"> diff --git a/res/layout/message_act.xml b/res/layout/message_act.xml index 9039a94..c2e1f2d 100644 --- a/res/layout/message_act.xml +++ b/res/layout/message_act.xml @@ -13,15 +13,13 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:layout_weight="1" android:descendantFocusability="blocksDescendants" android:stackFromBottom="true" - android:transcriptMode="alwaysScroll" /> + android:transcriptMode="alwaysScroll" /> +android:orientation="horizontal"> + android:gravity="center"> + android:orientation="horizontal">