aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/item_comment_fully_collapsed.xml
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2022-01-21 14:22:37 +0000
committerAlex Ning <chineseperson5@gmail.com>2022-01-21 14:22:37 +0000
commitfd0e95dbac415c3bb35a37804c800ead3791dee9 (patch)
tree58eb333a8c2899377d29270cd6367833c2bbfddf /app/src/main/res/layout/item_comment_fully_collapsed.xml
parentdb48b940d7ee3ae5f8f54556b81d43f67327f4b9 (diff)
downloadinfinity-for-reddit-fd0e95dbac415c3bb35a37804c800ead3791dee9.tar
infinity-for-reddit-fd0e95dbac415c3bb35a37804c800ead3791dee9.tar.gz
infinity-for-reddit-fd0e95dbac415c3bb35a37804c800ead3791dee9.tar.bz2
infinity-for-reddit-fd0e95dbac415c3bb35a37804c800ead3791dee9.tar.lz
infinity-for-reddit-fd0e95dbac415c3bb35a37804c800ead3791dee9.tar.xz
infinity-for-reddit-fd0e95dbac415c3bb35a37804c800ead3791dee9.tar.zst
infinity-for-reddit-fd0e95dbac415c3bb35a37804c800ead3791dee9.zip
Show author icon in CommentFullyCollapsedViewHolder.
Diffstat (limited to 'app/src/main/res/layout/item_comment_fully_collapsed.xml')
-rw-r--r--app/src/main/res/layout/item_comment_fully_collapsed.xml16
1 files changed, 13 insertions, 3 deletions
diff --git a/app/src/main/res/layout/item_comment_fully_collapsed.xml b/app/src/main/res/layout/item_comment_fully_collapsed.xml
index 8f547138..5bda1d1f 100644
--- a/app/src/main/res/layout/item_comment_fully_collapsed.xml
+++ b/app/src/main/res/layout/item_comment_fully_collapsed.xml
@@ -15,16 +15,24 @@
<LinearLayout
android:layout_width="match_parent"
- android:layout_height="wrap_content">
+ android:layout_height="wrap_content"
+ android:layout_marginStart="16dp">
+
+ <ImageView
+ android:id="@+id/author_icon_image_view_item_comment_fully_collapsed"
+ android:layout_width="24dp"
+ android:layout_height="24dp"
+ android:layout_gravity="center_vertical" />
<TextView
android:id="@+id/user_name_text_view_item_comment_fully_collapsed"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
+ android:layout_gravity="center_vertical"
android:maxLines="1"
android:fontFamily="?attr/font_family"
- android:paddingStart="16dp"
+ android:paddingStart="8dp"
android:paddingTop="12dp"
android:paddingEnd="8dp"
android:paddingBottom="12dp"
@@ -34,6 +42,7 @@
android:id="@+id/child_count_text_view_item_comment_fully_collapsed"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
android:fontFamily="?attr/font_family"
android:paddingStart="16dp"
android:paddingTop="12dp"
@@ -45,6 +54,7 @@
android:id="@+id/score_text_view_item_comment_fully_collapsed"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
android:fontFamily="?attr/font_family"
android:paddingStart="8dp"
android:paddingTop="12dp"
@@ -56,7 +66,7 @@
android:id="@+id/time_text_view_item_comment_fully_collapsed"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_gravity="end"
+ android:layout_gravity="center_vertical|end"
android:fontFamily="?attr/font_family"
android:paddingStart="8dp"
android:paddingTop="12dp"