aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2019-06-23 08:28:08 +0000
committerAlex Ning <chineseperson5@gmail.com>2019-06-23 08:28:08 +0000
commite9cec91a5b53995ca6134d8e8bf9cc2c30e16735 (patch)
treec7e10d0d8ec8c35f1206468df03c4fb9814e394f /app/src/main/res
parent9ddf15b8fb20bb99ed94a2f2cb5e0a50780961d5 (diff)
downloadinfinity-for-reddit-e9cec91a5b53995ca6134d8e8bf9cc2c30e16735.tar
infinity-for-reddit-e9cec91a5b53995ca6134d8e8bf9cc2c30e16735.tar.gz
infinity-for-reddit-e9cec91a5b53995ca6134d8e8bf9cc2c30e16735.tar.bz2
infinity-for-reddit-e9cec91a5b53995ca6134d8e8bf9cc2c30e16735.tar.lz
infinity-for-reddit-e9cec91a5b53995ca6134d8e8bf9cc2c30e16735.tar.xz
infinity-for-reddit-e9cec91a5b53995ca6134d8e8bf9cc2c30e16735.tar.zst
infinity-for-reddit-e9cec91a5b53995ca6134d8e8bf9cc2c30e16735.zip
Calculate the comment placeholder position if the position was changed.
Diffstat (limited to '')
-rw-r--r--app/src/main/res/layout/item_comment.xml13
1 files changed, 2 insertions, 11 deletions
diff --git a/app/src/main/res/layout/item_comment.xml b/app/src/main/res/layout/item_comment.xml
index a4a3c043..088943f7 100644
--- a/app/src/main/res/layout/item_comment.xml
+++ b/app/src/main/res/layout/item_comment.xml
@@ -9,7 +9,7 @@
<View
android:id="@+id/vertical_block_item_post_comment"
- android:layout_width="0dp"
+ android:layout_width="wrap_content"
android:layout_height="match_parent"
android:background="@color/textColorPrimaryDark"/>
@@ -36,9 +36,8 @@
<TextView
android:id="@+id/comment_time_text_view_item_post_comment"
- android:layout_width="0dp"
+ android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_weight="1"
android:gravity="end" />
</LinearLayout>
@@ -92,14 +91,6 @@
android:clickable="true"
android:focusable="true"/>
- <ProgressBar
- android:id="@+id/load_more_comments_progress_bar"
- android:layout_width="20dp"
- android:layout_height="20dp"
- android:layout_marginEnd="16dp"
- android:layout_toStartOf="@id/expand_button_item_post_comment"
- android:visibility="gone"/>
-
<ImageView
android:id="@+id/expand_button_item_post_comment"
android:layout_width="wrap_content"