aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/item_comment.xml
diff options
context:
space:
mode:
authorHermes Junior <hermesjunior2001@hotmail.com>2020-03-29 03:20:52 +0000
committerHermes Junior <hermesjunior2001@hotmail.com>2020-03-29 03:20:52 +0000
commitd0faebbab94fff13a657311b286419619200663e (patch)
tree24eb2c2270bf7f73fb172e0159898a6b32010f13 /app/src/main/res/layout/item_comment.xml
parentea27af4080ff6056dd260501cc91b8b2ac4f716f (diff)
downloadinfinity-for-reddit-d0faebbab94fff13a657311b286419619200663e.tar
infinity-for-reddit-d0faebbab94fff13a657311b286419619200663e.tar.gz
infinity-for-reddit-d0faebbab94fff13a657311b286419619200663e.tar.bz2
infinity-for-reddit-d0faebbab94fff13a657311b286419619200663e.tar.lz
infinity-for-reddit-d0faebbab94fff13a657311b286419619200663e.tar.xz
infinity-for-reddit-d0faebbab94fff13a657311b286419619200663e.tar.zst
infinity-for-reddit-d0faebbab94fff13a657311b286419619200663e.zip
Add hidden comment toolbar feature.
Diffstat (limited to 'app/src/main/res/layout/item_comment.xml')
-rw-r--r--app/src/main/res/layout/item_comment.xml16
1 files changed, 14 insertions, 2 deletions
diff --git a/app/src/main/res/layout/item_comment.xml b/app/src/main/res/layout/item_comment.xml
index dfefe3d1..535e6fd6 100644
--- a/app/src/main/res/layout/item_comment.xml
+++ b/app/src/main/res/layout/item_comment.xml
@@ -21,7 +21,8 @@
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:layout_marginBottom="12dp"
- android:orientation="vertical">
+ android:orientation="vertical"
+ android:animateLayoutChanges="true">
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
@@ -70,6 +71,17 @@
app:layout_constraintTop_toBottomOf="@id/author_text_view_item_post_comment" />
<TextView
+ android:id="@+id/top_score_text_view_item_post_comment"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_marginEnd="8dp"
+ android:gravity="end"
+ android:textSize="?attr/font_default"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toStartOf="@id/comment_time_text_view_item_post_comment"
+ app:layout_constraintTop_toTopOf="parent" />
+
+ <TextView
android:id="@+id/comment_time_text_view_item_post_comment"
android:layout_width="0dp"
android:layout_height="wrap_content"
@@ -84,7 +96,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:barrierDirection="start"
- app:constraint_referenced_ids="comment_time_text_view_item_post_comment" />
+ app:constraint_referenced_ids="top_score_text_view_item_post_comment" />
</androidx.constraintlayout.widget.ConstraintLayout>