mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
fix: logo getting cropped in landscape mode of login page (#6106)
* Fixed logo getting cropped in landscape mode of login page * Indentation added at line 12 * New Dimension created in dimens.xml which is used in land\activity_login.xml
This commit is contained in:
parent
b2159ed87f
commit
fdbe504ca9
4 changed files with 10 additions and 5 deletions
|
|
@ -12,7 +12,7 @@
|
|||
android:layout_width="@dimen/landscape_width"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginTop="@dimen/small_gap">
|
||||
android:layout_marginTop="@dimen/login_gap">
|
||||
|
||||
<androidx.cardview.widget.CardView
|
||||
android:layout_width="match_parent"
|
||||
|
|
|
|||
|
|
@ -2,12 +2,14 @@
|
|||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="center_vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
android:orientation="vertical"
|
||||
android:layout_gravity="center_vertical">
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="@dimen/landscape_width"
|
||||
|
|
|
|||
|
|
@ -1,13 +1,15 @@
|
|||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical">
|
||||
|
||||
<LinearLayout xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:fillViewport="true"
|
||||
android:orientation="vertical">
|
||||
android:orientation="vertical"
|
||||
android:layout_gravity="center_vertical">
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="wrap_content"
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@
|
|||
<dimen name="gigantic_gap">64dp</dimen>
|
||||
<dimen name="standard_gap">16dp</dimen>
|
||||
<dimen name="small_gap">8dp</dimen>
|
||||
<dimen name="login_gap">20dp</dimen>
|
||||
<dimen name="small_height">7dp</dimen>
|
||||
<dimen name="tiny_gap">4dp</dimen>
|
||||
<dimen name="very_tiny_gap">2dp</dimen>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue