diff options
author | Alex Ning <chineseperson5@gmail.com> | 2022-01-17 09:30:56 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2022-01-17 09:30:56 +0000 |
commit | 5eaf4ab8fef1c50cfec708f2f15d3ee4fdd3df47 (patch) | |
tree | 6fb0735fe7327df91411967e02eae5c1485d5e59 /app/src/main/res/layout | |
parent | 9ab1e6904c7b8a03449648eda3816a8c02d6e1fa (diff) | |
download | infinity-for-reddit-5eaf4ab8fef1c50cfec708f2f15d3ee4fdd3df47.tar infinity-for-reddit-5eaf4ab8fef1c50cfec708f2f15d3ee4fdd3df47.tar.gz infinity-for-reddit-5eaf4ab8fef1c50cfec708f2f15d3ee4fdd3df47.tar.bz2 infinity-for-reddit-5eaf4ab8fef1c50cfec708f2f15d3ee4fdd3df47.tar.lz infinity-for-reddit-5eaf4ab8fef1c50cfec708f2f15d3ee4fdd3df47.tar.xz infinity-for-reddit-5eaf4ab8fef1c50cfec708f2f15d3ee4fdd3df47.tar.zst infinity-for-reddit-5eaf4ab8fef1c50cfec708f2f15d3ee4fdd3df47.zip |
Show child reply count in comments.
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/item_comment.xml | 9 | ||||
-rw-r--r-- | app/src/main/res/layout/item_comment_fully_collapsed.xml | 12 |
2 files changed, 18 insertions, 3 deletions
diff --git a/app/src/main/res/layout/item_comment.xml b/app/src/main/res/layout/item_comment.xml index e6d3f89d..e087c087 100644 --- a/app/src/main/res/layout/item_comment.xml +++ b/app/src/main/res/layout/item_comment.xml @@ -171,15 +171,18 @@ app:layout_constraintTop_toTopOf="parent" app:layout_constraintBottom_toBottomOf="parent"/> - <ImageView + <TextView android:id="@+id/expand_button_item_post_comment" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:padding="8dp" + android:gravity="center" + android:paddingStart="8dp" + android:paddingEnd="8dp" + android:textSize="?attr/font_default" + android:fontFamily="?attr/font_family" android:background="?actionBarItemBackground" android:clickable="true" android:focusable="true" - android:src="@drawable/ic_expand_less_grey_24dp" android:visibility="gone" app:layout_constraintEnd_toStartOf="@+id/save_button_item_post_comment" app:layout_constraintTop_toTopOf="parent" 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 b1023c7e..8f547138 100644 --- a/app/src/main/res/layout/item_comment_fully_collapsed.xml +++ b/app/src/main/res/layout/item_comment_fully_collapsed.xml @@ -22,6 +22,18 @@ android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" + android:maxLines="1" + android:fontFamily="?attr/font_family" + android:paddingStart="16dp" + android:paddingTop="12dp" + android:paddingEnd="8dp" + android:paddingBottom="12dp" + android:textSize="?attr/font_default" /> + + <TextView + android:id="@+id/child_count_text_view_item_comment_fully_collapsed" + android:layout_width="wrap_content" + android:layout_height="wrap_content" android:fontFamily="?attr/font_family" android:paddingStart="16dp" android:paddingTop="12dp" |