Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
AloqaIM-Android
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
AloqaIM-Android
Commits
59ca8262
Unverified
Commit
59ca8262
authored
Mar 12, 2019
by
Filipe de Lima Brito
Committed by
GitHub
Mar 12, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2069 from arthurbdiniz/fix-2062
[FIX] About Screen in landscape view
parents
dbbf29da
0e26a273
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
52 additions
and
42 deletions
+52
-42
fragment_about.xml
app/src/main/res/layout/fragment_about.xml
+52
-42
No files found.
app/src/main/res/layout/fragment_about.xml
View file @
59ca8262
<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"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
tools:context=
"chat.rocket.android.about.ui.AboutFragment"
>
<ImageView
android:id=
"@+id/image_app_name"
android:layout_width=
"wrap_content"
android:layout_height=
"60dp"
android:src=
"@drawable/ic_app_name"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
/>
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:paddingTop=
"50dp"
android:layout_gravity=
"center"
>
<ImageView
android:layout_width=
"160dp"
android:layout_height=
"160dp"
android:src=
"@drawable/ic_launcher_foreground"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintBottom_toTopOf=
"@id/image_app_name"
android:adjustViewBounds=
"true"
android:scaleX=
"1.5"
android:scaleY=
"1.5"
/>
<ImageView
android:id=
"@+id/image_app_name"
android:layout_width=
"wrap_content"
android:layout_height=
"60dp"
android:src=
"@drawable/ic_app_name"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
/>
<Text
View
android:id=
"@+id/text_version_name
"
android:layout_width=
"wrap_content
"
android:layout_height=
"wrap_content
"
tools:text=
"Version alpha2.0.1
"
app:layout_constraintStart_toStartOf=
"parent
"
app:layout_constraintEnd_toEndOf=
"parent
"
app:layout_constraintTop_toBottomOf=
"@+
id/image_app_name"
android:layout_marginTop=
"16dp
"
android:textColor=
"@color/colorSecondaryTex
t"
android:textAppearance=
"@style/TextAppearance.AppCompat.Medium"
/>
<Image
View
android:layout_width=
"160dp
"
android:layout_height=
"160dp
"
android:adjustViewBounds=
"true
"
android:scaleX=
"1.5
"
android:scaleY=
"1.5
"
android:src=
"@drawable/ic_launcher_foreground
"
app:layout_constraintBottom_toTopOf=
"@
id/image_app_name"
app:layout_constraintEnd_toEndOf=
"parent
"
app:layout_constraintStart_toStartOf=
"paren
t"
app:layout_constraintTop_toTopOf=
"parent"
/>
<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"
/>
<TextView
android:id=
"@+id/text_version_name"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
tools:text=
"Version alpha2.0.1"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/image_app_name"
android:layout_marginTop=
"16dp"
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment