mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-19 09:25:34 +00:00
[fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/1864 - made about page scrollable (https://github.com/mozilla-mobile/fenix/pull/1865)
This commit is contained in:
parent
f53df52a1e
commit
3ba9cb253f
@ -2,58 +2,64 @@
|
|||||||
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
<!-- 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
|
- 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/. -->
|
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
||||||
<androidx.constraintlayout.widget.ConstraintLayout
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
android:layout_width="fill_parent"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools"
|
android:layout_height="fill_parent">
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="match_parent"
|
|
||||||
tools:context="org.mozilla.fenix.settings.AboutFragment">
|
|
||||||
|
|
||||||
<ImageView
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||||||
android:id="@+id/wordmark"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:importantForAccessibility="no"
|
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:src="?fenixLogo"
|
android:layout_width="match_parent"
|
||||||
android:layout_marginTop="24dp"
|
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_width="0dp"
|
tools:context="org.mozilla.fenix.settings.AboutFragment">
|
||||||
app:layout_constraintWidth_percent="0.5"
|
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
|
||||||
app:layout_constraintTop_toTopOf="parent" />
|
|
||||||
|
|
||||||
<TextView
|
<ImageView
|
||||||
android:id="@+id/about_text"
|
android:id="@+id/wordmark"
|
||||||
android:layout_width="0dp"
|
android:importantForAccessibility="no"
|
||||||
android:layout_height="wrap_content"
|
android:src="?fenixLogo"
|
||||||
android:textSize="16sp"
|
android:layout_marginTop="24dp"
|
||||||
android:layout_marginTop="24dp"
|
android:layout_height="wrap_content"
|
||||||
app:layout_constraintWidth_percent="0.8"
|
android:layout_width="0dp"
|
||||||
app:layout_constraintTop_toBottomOf="@id/wordmark"
|
app:layout_constraintWidth_percent="0.5"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
android:textAlignment="center" />
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/about_content"
|
android:id="@+id/about_text"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="18sp"
|
android:textSize="16sp"
|
||||||
android:layout_marginTop="16dp"
|
android:layout_marginTop="24dp"
|
||||||
app:layout_constraintWidth_percent="0.8"
|
app:layout_constraintWidth_percent="0.8"
|
||||||
app:layout_constraintTop_toBottomOf="@id/about_text"
|
app:layout_constraintTop_toBottomOf="@id/wordmark"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintEnd_toEndOf="parent" />
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
android:textAlignment="center" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/build_date"
|
android:id="@+id/about_content"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="16dp"
|
android:textSize="18sp"
|
||||||
android:textSize="16sp"
|
android:layout_marginTop="16dp"
|
||||||
app:layout_constraintWidth_percent="0.8"
|
app:layout_constraintWidth_percent="0.8"
|
||||||
app:layout_constraintTop_toBottomOf="@id/about_content"
|
app:layout_constraintTop_toBottomOf="@id/about_text"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent" />
|
||||||
android:textAlignment="center" />
|
|
||||||
|
|
||||||
</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>
|
Loading…
Reference in New Issue
Block a user