aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/activity_theme_preview.xml
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2020-06-10 04:22:19 +0000
committerAlex Ning <chineseperson5@gmail.com>2020-06-10 04:22:19 +0000
commit4cd07e3bb61d848590a953a37c8501962e2c0bd8 (patch)
treecf4878e6ccea7a7f58d117fef57233a5cd48c6c8 /app/src/main/res/layout/activity_theme_preview.xml
parent9a47a3d9d20c061e38161293498622e3a6aaf8b5 (diff)
downloadinfinity-for-reddit-4cd07e3bb61d848590a953a37c8501962e2c0bd8.tar
infinity-for-reddit-4cd07e3bb61d848590a953a37c8501962e2c0bd8.tar.gz
infinity-for-reddit-4cd07e3bb61d848590a953a37c8501962e2c0bd8.tar.bz2
infinity-for-reddit-4cd07e3bb61d848590a953a37c8501962e2c0bd8.tar.lz
infinity-for-reddit-4cd07e3bb61d848590a953a37c8501962e2c0bd8.tar.xz
infinity-for-reddit-4cd07e3bb61d848590a953a37c8501962e2c0bd8.tar.zst
infinity-for-reddit-4cd07e3bb61d848590a953a37c8501962e2c0bd8.zip
Prepare to add different font support.
Diffstat (limited to 'app/src/main/res/layout/activity_theme_preview.xml')
-rw-r--r--app/src/main/res/layout/activity_theme_preview.xml14
1 files changed, 9 insertions, 5 deletions
diff --git a/app/src/main/res/layout/activity_theme_preview.xml b/app/src/main/res/layout/activity_theme_preview.xml
index fb6172b7..2a03432a 100644
--- a/app/src/main/res/layout/activity_theme_preview.xml
+++ b/app/src/main/res/layout/activity_theme_preview.xml
@@ -52,14 +52,16 @@
android:layout_height="wrap_content"
android:layout_marginBottom="16dp"
android:text="@string/subreddit_preview"
- android:textSize="?attr/font_18"/>
+ android:textSize="?attr/font_18"
+ android:fontFamily="?attr/font_family" />
<TextView
android:id="@+id/user_name_text_view_theme_preview_activity"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/username_preview"
- android:textSize="?attr/font_18"/>
+ android:textSize="?attr/font_18"
+ android:fontFamily="?attr/font_family"/>
</LinearLayout>
@@ -85,7 +87,8 @@
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/primary_text_preview"
- android:textSize="?attr/font_default" />
+ android:textSize="?attr/font_default"
+ android:fontFamily="?attr/font_family" />
<TextView
android:id="@+id/secondary_text_text_view_theme_preview_activity"
@@ -94,7 +97,8 @@
android:layout_weight="1"
android:gravity="end"
android:text="@string/secondary_text_preview"
- android:textSize="?attr/font_default" />
+ android:textSize="?attr/font_default"
+ android:fontFamily="?attr/font_family" />
</LinearLayout>
@@ -164,7 +168,7 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
- android:background="@android:color/transparent"/>
+ android:background="@android:color/transparent" />
<ImageView
android:id="@+id/message_bottom_app_bar_theme_preview_activity"