2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-02 03:40:16 +00:00

Fixes #1864 - made about page scrollable (#1865)

This commit is contained in:
Kourosh 2019-04-21 23:44:53 +04:30 committed by Jeff Boek
parent 23e2b51db2
commit 08796a1f95

View File

@ -2,58 +2,64 @@
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"
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"
tools:context="org.mozilla.fenix.settings.AboutFragment">
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<ImageView
android:id="@+id/wordmark"
android:importantForAccessibility="no"
android:src="?fenixLogo"
android:layout_marginTop="24dp"
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_width="0dp"
app:layout_constraintWidth_percent="0.5"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />
tools:context="org.mozilla.fenix.settings.AboutFragment">
<TextView
android:id="@+id/about_text"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:textSize="16sp"
android:layout_marginTop="24dp"
app:layout_constraintWidth_percent="0.8"
app:layout_constraintTop_toBottomOf="@id/wordmark"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
android:textAlignment="center" />
<ImageView
android:id="@+id/wordmark"
android:importantForAccessibility="no"
android:src="?fenixLogo"
android:layout_marginTop="24dp"
android:layout_height="wrap_content"
android:layout_width="0dp"
app:layout_constraintWidth_percent="0.5"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/about_content"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:textSize="18sp"
android:layout_marginTop="16dp"
app:layout_constraintWidth_percent="0.8"
app:layout_constraintTop_toBottomOf="@id/about_text"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent" />
<TextView
android:id="@+id/about_text"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:textSize="16sp"
android:layout_marginTop="24dp"
app:layout_constraintWidth_percent="0.8"
app:layout_constraintTop_toBottomOf="@id/wordmark"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
android:textAlignment="center" />
<TextView
android:id="@+id/build_date"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:textSize="16sp"
app:layout_constraintWidth_percent="0.8"
app:layout_constraintTop_toBottomOf="@id/about_content"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
android:textAlignment="center" />
<TextView
android:id="@+id/about_content"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:textSize="18sp"
android:layout_marginTop="16dp"
app:layout_constraintWidth_percent="0.8"
app:layout_constraintTop_toBottomOf="@id/about_text"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
<TextView
android:id="@+id/build_date"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:textSize="16sp"
app:layout_constraintWidth_percent="0.8"
app:layout_constraintTop_toBottomOf="@id/about_content"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
android:textAlignment="center" />
</androidx.constraintlayout.widget.ConstraintLayout>
</ScrollView>