Calculate the comment placeholder position if the position was changed.

This commit is contained in:
Alex Ning
2019-06-23 16:28:08 +08:00
parent 9ddf15b8fb
commit e9cec91a5b
4 changed files with 93 additions and 49 deletions

View File

@@ -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"