From 7d9d49c29ee9ae714b0e3f577a9eeb4800760941 Mon Sep 17 00:00:00 2001 From: m2049r Date: Mon, 18 Feb 2019 19:05:45 +0100 Subject: [PATCH] landscape mode on tablets (#535) --- app/src/main/AndroidManifest.xml | 4 ++-- app/src/main/res/layout/fragment_login.xml | 19 +++++++------------ 2 files changed, 9 insertions(+), 14 deletions(-) diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 85195224..f867402e 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -26,14 +26,14 @@ android:configChanges="orientation|keyboardHidden" android:label="@string/wallet_activity_name" android:launchMode="singleTask" - android:screenOrientation="portrait" /> + android:screenOrientation="behind" /> + android:screenOrientation="locked"> diff --git a/app/src/main/res/layout/fragment_login.xml b/app/src/main/res/layout/fragment_login.xml index 8273dd5a..1402a782 100644 --- a/app/src/main/res/layout/fragment_login.xml +++ b/app/src/main/res/layout/fragment_login.xml @@ -79,9 +79,9 @@ android:layout_height="wrap_content" android:layout_alignParentEnd="true" android:layout_centerInParent="true" - android:padding="12dp" android:background="?android:attr/selectableItemBackgroundBorderless" android:gravity="center" + android:padding="12dp" android:src="@drawable/ic_search_orange_24dp" /> @@ -104,18 +104,13 @@ android:layout_width="match_parent" android:layout_height="match_parent"> - - - - + android:adjustViewBounds="true" + android:layout_gravity="center" + android:padding="48dp" />