Unverified Commit 59ca8262 authored by Filipe de Lima Brito's avatar Filipe de Lima Brito Committed by GitHub

Merge pull request #2069 from arthurbdiniz/fix-2062

[FIX] About Screen in landscape view
parents dbbf29da 0e26a273
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" <ScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
tools:context="chat.rocket.android.about.ui.AboutFragment"> tools:context="chat.rocket.android.about.ui.AboutFragment">
<ImageView <androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/image_app_name" android:layout_width="match_parent"
android:layout_width="wrap_content" android:layout_height="wrap_content"
android:layout_height="60dp" android:paddingTop="50dp"
android:src="@drawable/ic_app_name" android:layout_gravity="center">
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent" />
<ImageView <ImageView
android:layout_width="160dp" android:id="@+id/image_app_name"
android:layout_height="160dp" android:layout_width="wrap_content"
android:src="@drawable/ic_launcher_foreground" android:layout_height="60dp"
app:layout_constraintStart_toStartOf="parent" android:src="@drawable/ic_app_name"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toTopOf="@id/image_app_name" app:layout_constraintBottom_toBottomOf="parent"
android:adjustViewBounds="true" app:layout_constraintStart_toStartOf="parent"
android:scaleX="1.5" app:layout_constraintEnd_toEndOf="parent" />
android:scaleY="1.5" />
<TextView <ImageView
android:id="@+id/text_version_name" android:layout_width="160dp"
android:layout_width="wrap_content" android:layout_height="160dp"
android:layout_height="wrap_content" android:adjustViewBounds="true"
tools:text="Version alpha2.0.1" android:scaleX="1.5"
app:layout_constraintStart_toStartOf="parent" android:scaleY="1.5"
app:layout_constraintEnd_toEndOf="parent" android:src="@drawable/ic_launcher_foreground"
app:layout_constraintTop_toBottomOf="@+id/image_app_name" app:layout_constraintBottom_toTopOf="@id/image_app_name"
android:layout_marginTop="16dp" app:layout_constraintEnd_toEndOf="parent"
android:textColor="@color/colorSecondaryText" app:layout_constraintStart_toStartOf="parent"
android:textAppearance="@style/TextAppearance.AppCompat.Medium"/> app:layout_constraintTop_toTopOf="parent" />
<TextView <TextView
android:id="@+id/text_build_number" android:id="@+id/text_version_name"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
tools:text="Build # 2000" tools:text="Version alpha2.0.1"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@+id/text_version_name" app:layout_constraintTop_toBottomOf="@+id/image_app_name"
android:layout_marginTop="8dp" android:layout_marginTop="16dp"
android:textColor="@color/colorSecondaryText" /> android:textColor="@color/colorSecondaryText"
android:textAppearance="@style/TextAppearance.AppCompat.Medium"/>
<TextView
android:id="@+id/text_build_number"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
tools:text="Build # 2000"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@+id/text_version_name"
android:layout_marginTop="8dp"
android:textColor="@color/colorSecondaryText" />
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout> </ScrollView>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment