aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/activity_post_link.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_post_link.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_post_link.xml')
-rw-r--r--app/src/main/res/layout/activity_post_link.xml15
1 files changed, 11 insertions, 4 deletions
diff --git a/app/src/main/res/layout/activity_post_link.xml b/app/src/main/res/layout/activity_post_link.xml
index 0187eb5a..29a0eb7b 100644
--- a/app/src/main/res/layout/activity_post_link.xml
+++ b/app/src/main/res/layout/activity_post_link.xml
@@ -57,7 +57,8 @@
android:layout_toStartOf="@id/rules_button_post_link_activity"
android:layout_toEndOf="@id/subreddit_icon_gif_image_view_post_link_activity"
android:text="@string/choose_a_subreddit"
- android:textSize="?attr/font_default" />
+ android:textSize="?attr/font_default"
+ android:fontFamily="?attr/font_family" />
<Button
android:id="@+id/rules_button_post_link_activity"
@@ -67,7 +68,8 @@
android:layout_centerVertical="true"
android:text="@string/rules"
android:textColor="@android:color/white"
- android:textSize="?attr/font_default" />
+ android:textSize="?attr/font_default"
+ android:fontFamily="?attr/font_family" />
</RelativeLayout>
@@ -89,6 +91,7 @@
android:text="@string/flair"
android:textColor="?attr/primaryTextColor"
android:textSize="?attr/font_default"
+ android:fontFamily="?attr/font_family"
android:visibility="gone"
app:lib_setRadius="3dp"
app:lib_setRoundedView="true"
@@ -103,6 +106,7 @@
android:text="@string/spoiler"
android:textColor="?attr/primaryTextColor"
android:textSize="?attr/font_default"
+ android:fontFamily="?attr/font_family"
app:lib_setRadius="3dp"
app:lib_setRoundedView="true"
app:lib_setShape="rectangle" />
@@ -116,6 +120,7 @@
android:text="@string/nsfw"
android:textColor="?attr/primaryTextColor"
android:textSize="?attr/font_default"
+ android:fontFamily="?attr/font_family"
app:lib_setRadius="3dp"
app:lib_setRoundedView="true"
app:lib_setShape="rectangle" />
@@ -137,7 +142,8 @@
android:inputType="textCapSentences|textMultiLine"
android:padding="16dp"
android:textColor="?attr/primaryTextColor"
- android:textSize="?attr/title_font_18" />
+ android:textSize="?attr/title_font_18"
+ android:fontFamily="?attr/title_font_family" />
<View
android:id="@+id/divider_3_post_link_activity"
@@ -154,7 +160,8 @@
android:inputType="textMultiLine"
android:padding="16dp"
android:textColor="?attr/primaryTextColor"
- android:textSize="?attr/content_font_18" />
+ android:textSize="?attr/content_font_18"
+ android:fontFamily="?attr/content_font_family" />
</LinearLayout>