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
75011244
Commit
75011244
authored
Mar 09, 2019
by
Arthur Diniz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Makes ScrollView as the root layout
Signed-off-by:
Arthur Diniz
<
arthurbdiniz@gmail.com
>
parent
7eed06b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
52 additions
and
57 deletions
+52
-57
fragment_about.xml
app/src/main/res/layout/fragment_about.xml
+52
-57
No files found.
app/src/main/res/layout/fragment_about.xml
View file @
75011244
<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"
>
<
ScrollView
<
androidx.constraintlayout.widget.ConstraintLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
>
android:layout_height=
"wrap_content"
android:paddingTop=
"50dp"
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_gravity=
"center"
>
android:layout_width=
"match_parent"
<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"
/>
<ImageView
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=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
<TextView
android:id=
"@+id/text_version_name"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:paddingTop=
"50dp"
tools:text=
"Version alpha2.0.1"
android:layout_gravity=
"center"
>
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
<ImageView
app:layout_constraintTop_toBottomOf=
"@+id/image_app_name"
android:id=
"@+id/image_app_name"
android:layout_marginTop=
"16dp"
android:layout_width=
"wrap_content"
android:textColor=
"@color/colorSecondaryText"
android:layout_height=
"60dp"
android:textAppearance=
"@style/TextAppearance.AppCompat.Medium"
/>
android:src=
"@drawable/ic_app_name"
app:layout_constraintTop_toTopOf=
"parent"
<TextView
app:layout_constraintBottom_toBottomOf=
"parent"
android:id=
"@+id/text_build_number"
app:layout_constraintStart_toStartOf=
"parent"
android:layout_width=
"wrap_content"
app:layout_constraintEnd_toEndOf=
"parent"
/>
android:layout_height=
"wrap_content"
tools:text=
"Build # 2000"
<ImageView
app:layout_constraintStart_toStartOf=
"parent"
android:layout_width=
"160dp"
app:layout_constraintEnd_toEndOf=
"parent"
android:layout_height=
"160dp"
app:layout_constraintTop_toBottomOf=
"@+id/text_version_name"
android:adjustViewBounds=
"true"
android:layout_marginTop=
"8dp"
android:scaleX=
"1.5"
android:textColor=
"@color/colorSecondaryText"
/>
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=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
<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>
</
ScrollView
>
</
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