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" /> <activity android:name=".LoginActivity" android:configChanges="orientation|keyboardHidden" android:label="@string/app_name" android:launchMode="singleTop" - android:screenOrientation="portrait"> + android:screenOrientation="locked"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> 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" /> </RelativeLayout> @@ -104,18 +104,13 @@ android:layout_width="match_parent" android:layout_height="match_parent"> - <ScrollView - android:layout_width="match_parent" + <ImageView + android:id="@+id/ivGunther" + android:layout_width="wrap_content" android:layout_height="match_parent" - android:fillViewport="true"> - - <ImageView - android:id="@+id/ivGunther" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:adjustViewBounds="true" - android:padding="48dp" /> - </ScrollView> + android:adjustViewBounds="true" + android:layout_gravity="center" + android:padding="48dp" /> <android.support.v7.widget.RecyclerView xmlns:tools="http://schemas.android.com/tools" android:id="@+id/list"