aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/item_comment.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/item_comment.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 '')
-rw-r--r--app/src/main/res/layout/item_comment.xml12
1 files changed, 10 insertions, 2 deletions
diff --git a/app/src/main/res/layout/item_comment.xml b/app/src/main/res/layout/item_comment.xml
index ab0ebbe4..6129a269 100644
--- a/app/src/main/res/layout/item_comment.xml
+++ b/app/src/main/res/layout/item_comment.xml
@@ -48,6 +48,7 @@
android:ellipsize="end"
android:maxLines="2"
android:textSize="?attr/font_default"
+ android:fontFamily="?attr/font_family"
app:layout_constraintBottom_toTopOf="@id/author_flair_text_view_item_post_comment"
app:layout_constraintEnd_toStartOf="@+id/barrier"
app:layout_constraintStart_toEndOf="@id/author_type_image_view_item_comment"
@@ -61,6 +62,7 @@
android:ellipsize="end"
android:maxLines="2"
android:textSize="?attr/font_12"
+ android:fontFamily="?attr/font_family"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/barrier"
@@ -74,6 +76,7 @@
android:layout_marginEnd="8dp"
android:gravity="end"
android:textSize="?attr/font_default"
+ android:fontFamily="?attr/font_family"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@id/comment_time_text_view_item_post_comment"
app:layout_constraintTop_toTopOf="parent" />
@@ -84,6 +87,7 @@
android:layout_height="wrap_content"
android:gravity="end"
android:textSize="?attr/font_default"
+ android:fontFamily="?attr/font_family"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />
@@ -104,7 +108,9 @@
android:layout_marginTop="8dp"
android:paddingStart="16dp"
android:paddingEnd="16dp"
- android:visibility="gone" />
+ android:visibility="gone"
+ android:textSize="?attr/font_default"
+ android:fontFamily="?attr/font_family" />
<TextView
android:id="@+id/comment_markdown_view_item_post_comment"
@@ -115,7 +121,8 @@
android:layout_marginEnd="16dp"
android:layout_marginBottom="8dp"
android:textColor="?attr/primaryTextColor"
- android:textSize="?attr/content_font_default" />
+ android:textSize="?attr/content_font_default"
+ android:fontFamily="?attr/content_font_family" />
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/bottom_constraint_layout_item_post_comment"
@@ -146,6 +153,7 @@
android:gravity="center"
android:textSize="?attr/font_12"
android:textStyle="bold"
+ android:fontFamily="?attr/font_family"
app:layout_constraintStart_toEndOf="@+id/up_vote_button_item_post_comment"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"/>