landscape mode on tablets (#535)

This commit is contained in:
m2049r 2019-02-18 19:05:45 +01:00 committed by GitHub
parent 4ca9328949
commit 7d9d49c29e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 14 deletions

View File

@ -26,14 +26,14 @@
android:configChanges="orientation|keyboardHidden" android:configChanges="orientation|keyboardHidden"
android:label="@string/wallet_activity_name" android:label="@string/wallet_activity_name"
android:launchMode="singleTask" android:launchMode="singleTask"
android:screenOrientation="portrait" /> android:screenOrientation="behind" />
<activity <activity
android:name=".LoginActivity" android:name=".LoginActivity"
android:configChanges="orientation|keyboardHidden" android:configChanges="orientation|keyboardHidden"
android:label="@string/app_name" android:label="@string/app_name"
android:launchMode="singleTop" android:launchMode="singleTop"
android:screenOrientation="portrait"> android:screenOrientation="locked">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" /> <category android:name="android.intent.category.LAUNCHER" />

View File

@ -79,9 +79,9 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_alignParentEnd="true" android:layout_alignParentEnd="true"
android:layout_centerInParent="true" android:layout_centerInParent="true"
android:padding="12dp"
android:background="?android:attr/selectableItemBackgroundBorderless" android:background="?android:attr/selectableItemBackgroundBorderless"
android:gravity="center" android:gravity="center"
android:padding="12dp"
android:src="@drawable/ic_search_orange_24dp" /> android:src="@drawable/ic_search_orange_24dp" />
</RelativeLayout> </RelativeLayout>
@ -104,18 +104,13 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
<ScrollView <ImageView
android:layout_width="match_parent" android:id="@+id/ivGunther"
android:layout_width="wrap_content"
android:layout_height="match_parent" android:layout_height="match_parent"
android:fillViewport="true"> android:adjustViewBounds="true"
android:layout_gravity="center"
<ImageView android:padding="48dp" />
android:id="@+id/ivGunther"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:adjustViewBounds="true"
android:padding="48dp" />
</ScrollView>
<android.support.v7.widget.RecyclerView xmlns:tools="http://schemas.android.com/tools" <android.support.v7.widget.RecyclerView xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/list" android:id="@+id/list"