diff options
author | Alex Ning <chineseperson5@gmail.com> | 2020-09-01 04:07:50 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2020-09-01 04:07:50 +0000 |
commit | ff49660cf7b88fdf7116458ebf6eb8d3e09d64cc (patch) | |
tree | ce11fca4c267e5851e758a2d60fefff10963ec37 /app/src/main/res/layout | |
parent | ccfb00ce3d7952dc2798528f53fdf09ae82ccb27 (diff) | |
download | infinity-for-reddit-ff49660cf7b88fdf7116458ebf6eb8d3e09d64cc.tar infinity-for-reddit-ff49660cf7b88fdf7116458ebf6eb8d3e09d64cc.tar.gz infinity-for-reddit-ff49660cf7b88fdf7116458ebf6eb8d3e09d64cc.tar.bz2 infinity-for-reddit-ff49660cf7b88fdf7116458ebf6eb8d3e09d64cc.tar.lz infinity-for-reddit-ff49660cf7b88fdf7116458ebf6eb8d3e09d64cc.tar.xz infinity-for-reddit-ff49660cf7b88fdf7116458ebf6eb8d3e09d64cc.tar.zst infinity-for-reddit-ff49660cf7b88fdf7116458ebf6eb8d3e09d64cc.zip |
Fix FontPreviewFragment cannot be scrolled.
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/fragment_font_preview.xml | 342 |
1 files changed, 174 insertions, 168 deletions
diff --git a/app/src/main/res/layout/fragment_font_preview.xml b/app/src/main/res/layout/fragment_font_preview.xml index d1140996..b73da09b 100644 --- a/app/src/main/res/layout/fragment_font_preview.xml +++ b/app/src/main/res/layout/fragment_font_preview.xml @@ -1,176 +1,182 @@ <?xml version="1.0" encoding="utf-8"?> -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" +<androidx.core.widget.NestedScrollView 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" - android:orientation="vertical" tools:context=".Settings.FontPreviewFragment"> - <TextView + <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" - android:paddingTop="16dp" - android:paddingBottom="16dp" - android:paddingStart="72dp" - android:paddingEnd="16dp" - android:text="@string/default_font_font_preview" - android:textColor="?attr/primaryTextColor" - android:textSize="?attr/font_default" /> - - <TextView - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:paddingTop="16dp" - android:paddingBottom="16dp" - android:paddingStart="72dp" - android:paddingEnd="16dp" - android:text="Balsamiq Sans" - android:textColor="?attr/primaryTextColor" - android:textSize="?attr/font_default" - android:fontFamily="@font/balsamiq_sans" /> - - <TextView - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:paddingTop="16dp" - android:paddingBottom="16dp" - android:paddingStart="72dp" - android:paddingEnd="16dp" - android:text="Balsamiq Sans Bold" - android:textColor="?attr/primaryTextColor" - android:textSize="?attr/font_default" - android:fontFamily="@font/balsamiq_sans_bold_version" /> - - <TextView - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:paddingTop="16dp" - android:paddingBottom="16dp" - android:paddingStart="72dp" - android:paddingEnd="16dp" - android:text="Noto Sans" - android:textColor="?attr/primaryTextColor" - android:textSize="?attr/font_default" - android:fontFamily="@font/noto_sans" /> - - <TextView - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:paddingTop="16dp" - android:paddingBottom="16dp" - android:paddingStart="72dp" - android:paddingEnd="16dp" - android:text="Noto Sans Bold" - android:textColor="?attr/primaryTextColor" - android:textSize="?attr/font_default" - android:fontFamily="@font/noto_sans_bold_version" /> - - <TextView - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:paddingTop="16dp" - android:paddingBottom="16dp" - android:paddingStart="72dp" - android:paddingEnd="16dp" - android:text="Harmonia Sans" - android:textColor="?attr/primaryTextColor" - android:textSize="?attr/font_default" - android:fontFamily="@font/harmonia_sans" /> - - <TextView - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:paddingTop="16dp" - android:paddingBottom="16dp" - android:paddingStart="72dp" - android:paddingEnd="16dp" - android:text="Harmonia Sans Bold" - android:textColor="?attr/primaryTextColor" - android:textSize="?attr/font_default" - android:fontFamily="@font/harmonia_sans_bold" /> - - <TextView - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:paddingTop="16dp" - android:paddingBottom="16dp" - android:paddingStart="72dp" - android:paddingEnd="16dp" - android:text="Roboto Condensed" - android:textColor="?attr/primaryTextColor" - android:textSize="?attr/font_default" - android:fontFamily="@font/roboto_condensed" /> - - <TextView - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:paddingTop="16dp" - android:paddingBottom="16dp" - android:paddingStart="72dp" - android:paddingEnd="16dp" - android:text="Roboto Condensed Bold" - android:textColor="?attr/primaryTextColor" - android:textSize="?attr/font_default" - android:fontFamily="@font/roboto_condensed_bold_version" /> - - <TextView - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:paddingTop="16dp" - android:paddingBottom="16dp" - android:paddingStart="72dp" - android:paddingEnd="16dp" - android:text="Inter" - android:textColor="?attr/primaryTextColor" - android:textSize="?attr/font_default" - android:fontFamily="@font/inter" /> - - <TextView - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:paddingTop="16dp" - android:paddingBottom="16dp" - android:paddingStart="72dp" - android:paddingEnd="16dp" - android:text="Inter Bold" - android:textColor="?attr/primaryTextColor" - android:textSize="?attr/font_default" - android:fontFamily="@font/inter_bold" /> - - <TextView - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:paddingTop="16dp" - android:paddingBottom="16dp" - android:paddingStart="72dp" - android:paddingEnd="16dp" - android:text="Manrope" - android:textColor="?attr/primaryTextColor" - android:textSize="?attr/font_default" - android:fontFamily="@font/manrope" /> - - <TextView - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:paddingTop="16dp" - android:paddingBottom="16dp" - android:paddingStart="72dp" - android:paddingEnd="16dp" - android:text="Manrope Bold" - android:textColor="?attr/primaryTextColor" - android:textSize="?attr/font_default" - android:fontFamily="@font/manrope_bold" /> - - <TextView - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:paddingTop="16dp" - android:paddingBottom="16dp" - android:paddingStart="72dp" - android:paddingEnd="16dp" - android:text="Sriracha" - android:textColor="?attr/primaryTextColor" - android:textSize="?attr/font_default" - android:fontFamily="@font/sriracha_regular" /> - -</LinearLayout>
\ No newline at end of file + android:orientation="vertical"> + + <TextView + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:paddingTop="16dp" + android:paddingBottom="16dp" + android:paddingStart="72dp" + android:paddingEnd="16dp" + android:text="@string/default_font_font_preview" + android:textColor="?attr/primaryTextColor" + android:textSize="?attr/font_default" /> + + <TextView + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:paddingTop="16dp" + android:paddingBottom="16dp" + android:paddingStart="72dp" + android:paddingEnd="16dp" + android:text="Balsamiq Sans" + android:textColor="?attr/primaryTextColor" + android:textSize="?attr/font_default" + android:fontFamily="@font/balsamiq_sans" /> + + <TextView + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:paddingTop="16dp" + android:paddingBottom="16dp" + android:paddingStart="72dp" + android:paddingEnd="16dp" + android:text="Balsamiq Sans Bold" + android:textColor="?attr/primaryTextColor" + android:textSize="?attr/font_default" + android:fontFamily="@font/balsamiq_sans_bold_version" /> + + <TextView + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:paddingTop="16dp" + android:paddingBottom="16dp" + android:paddingStart="72dp" + android:paddingEnd="16dp" + android:text="Noto Sans" + android:textColor="?attr/primaryTextColor" + android:textSize="?attr/font_default" + android:fontFamily="@font/noto_sans" /> + + <TextView + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:paddingTop="16dp" + android:paddingBottom="16dp" + android:paddingStart="72dp" + android:paddingEnd="16dp" + android:text="Noto Sans Bold" + android:textColor="?attr/primaryTextColor" + android:textSize="?attr/font_default" + android:fontFamily="@font/noto_sans_bold_version" /> + + <TextView + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:paddingTop="16dp" + android:paddingBottom="16dp" + android:paddingStart="72dp" + android:paddingEnd="16dp" + android:text="Harmonia Sans" + android:textColor="?attr/primaryTextColor" + android:textSize="?attr/font_default" + android:fontFamily="@font/harmonia_sans" /> + + <TextView + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:paddingTop="16dp" + android:paddingBottom="16dp" + android:paddingStart="72dp" + android:paddingEnd="16dp" + android:text="Harmonia Sans Bold" + android:textColor="?attr/primaryTextColor" + android:textSize="?attr/font_default" + android:fontFamily="@font/harmonia_sans_bold" /> + + <TextView + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:paddingTop="16dp" + android:paddingBottom="16dp" + android:paddingStart="72dp" + android:paddingEnd="16dp" + android:text="Roboto Condensed" + android:textColor="?attr/primaryTextColor" + android:textSize="?attr/font_default" + android:fontFamily="@font/roboto_condensed" /> + + <TextView + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:paddingTop="16dp" + android:paddingBottom="16dp" + android:paddingStart="72dp" + android:paddingEnd="16dp" + android:text="Roboto Condensed Bold" + android:textColor="?attr/primaryTextColor" + android:textSize="?attr/font_default" + android:fontFamily="@font/roboto_condensed_bold_version" /> + + <TextView + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:paddingTop="16dp" + android:paddingBottom="16dp" + android:paddingStart="72dp" + android:paddingEnd="16dp" + android:text="Inter" + android:textColor="?attr/primaryTextColor" + android:textSize="?attr/font_default" + android:fontFamily="@font/inter" /> + + <TextView + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:paddingTop="16dp" + android:paddingBottom="16dp" + android:paddingStart="72dp" + android:paddingEnd="16dp" + android:text="Inter Bold" + android:textColor="?attr/primaryTextColor" + android:textSize="?attr/font_default" + android:fontFamily="@font/inter_bold" /> + + <TextView + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:paddingTop="16dp" + android:paddingBottom="16dp" + android:paddingStart="72dp" + android:paddingEnd="16dp" + android:text="Manrope" + android:textColor="?attr/primaryTextColor" + android:textSize="?attr/font_default" + android:fontFamily="@font/manrope" /> + + <TextView + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:paddingTop="16dp" + android:paddingBottom="16dp" + android:paddingStart="72dp" + android:paddingEnd="16dp" + android:text="Manrope Bold" + android:textColor="?attr/primaryTextColor" + android:textSize="?attr/font_default" + android:fontFamily="@font/manrope_bold" /> + + <TextView + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:paddingTop="16dp" + android:paddingBottom="16dp" + android:paddingStart="72dp" + android:paddingEnd="16dp" + android:text="Sriracha" + android:textColor="?attr/primaryTextColor" + android:textSize="?attr/font_default" + android:fontFamily="@font/sriracha_regular" /> + + </LinearLayout> + +</androidx.core.widget.NestedScrollView>
\ No newline at end of file |