From 8c0bce3e98b6c7e7351e15e9e4fa9f2f7cc99c0d Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Fri, 31 May 2019 12:47:07 +0530 Subject: treewide: Resolve layout warnings Signed-off-by: Harsh Shandilya --- app/src/main/res/layout/activity_git_clone.xml | 22 ++----------------- app/src/main/res/layout/activity_git_config.xml | 9 +------- app/src/main/res/layout/autofill_recycler_view.xml | 1 - app/src/main/res/layout/decrypt_layout.xml | 25 +++------------------- app/src/main/res/layout/encrypt_layout.xml | 7 +----- .../main/res/layout/fragment_to_clone_or_not.xml | 4 ---- app/src/main/res/layout/git_passphrase_layout.xml | 2 -- app/src/main/res/layout/otp_confirm_layout.xml | 2 -- app/src/main/res/layout/password_recycler_view.xml | 1 - 9 files changed, 7 insertions(+), 66 deletions(-) (limited to 'app') diff --git a/app/src/main/res/layout/activity_git_clone.xml b/app/src/main/res/layout/activity_git_clone.xml index e24fbf99..c96a6201 100644 --- a/app/src/main/res/layout/activity_git_clone.xml +++ b/app/src/main/res/layout/activity_git_clone.xml @@ -38,15 +38,13 @@ android:text="@string/server_protocol" android:id="@+id/label_server_protocol" android:layout_centerVertical="true" - android:layout_alignParentLeft="true" android:layout_alignParentStart="true" /> + android:layout_toEndOf="@+id/label_server_protocol" /> @@ -70,11 +67,8 @@ android:layout_height="wrap_content" android:hint="@string/server_user_hint" android:id="@+id/server_user" - android:layout_marginLeft="8dp" android:layout_marginStart="8dp" android:layout_toEndOf="@+id/label_server_user" - android:layout_toRightOf="@+id/label_server_user" - android:layout_alignParentRight="true" android:layout_alignParentEnd="true" android:inputType="textWebEmailAddress"/> @@ -91,7 +85,6 @@ android:paddingBottom="8dp" android:id="@+id/label_server_url" android:layout_centerVertical="true" - android:layout_alignParentLeft="true" android:layout_alignParentStart="true" /> @@ -113,7 +103,6 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerVertical="true" - android:layout_toLeftOf="@+id/server_port" android:layout_toStartOf="@+id/server_port" android:paddingBottom="8dp" android:text=":" @@ -124,7 +113,6 @@ android:layout_height="wrap_content" android:hint="@string/server_port_hint" android:id="@+id/server_port" - android:layout_alignParentRight="true" android:layout_alignParentEnd="true" android:inputType="number"/> @@ -143,19 +131,15 @@ android:paddingBottom="8dp" android:id="@+id/label_server_path" android:layout_centerVertical="true" - android:layout_alignParentLeft="true" android:layout_alignParentStart="true" /> @@ -201,15 +185,13 @@ android:text="@string/connection_mode" android:id="@+id/label_connection_mode" android:layout_centerVertical="true" - android:layout_alignParentLeft="true" android:layout_alignParentStart="true" /> + android:layout_toEndOf="@+id/label_connection_mode" />