diff options
author | Alex Ning <chineseperson5@gmail.com> | 2021-04-09 15:20:46 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2021-04-09 15:20:46 +0000 |
commit | 0bef61a45f211cb9cc525f8c9760d5d0560ed157 (patch) | |
tree | 2cb4803e1e73918e7ea787a866f89452926f0bc2 /app/src/main/res/layout | |
parent | fd86448f72f75a430e50ef5c05357609946d8c3d (diff) | |
download | infinity-for-reddit-0bef61a45f211cb9cc525f8c9760d5d0560ed157.tar infinity-for-reddit-0bef61a45f211cb9cc525f8c9760d5d0560ed157.tar.gz infinity-for-reddit-0bef61a45f211cb9cc525f8c9760d5d0560ed157.tar.bz2 infinity-for-reddit-0bef61a45f211cb9cc525f8c9760d5d0560ed157.tar.lz infinity-for-reddit-0bef61a45f211cb9cc525f8c9760d5d0560ed157.tar.xz infinity-for-reddit-0bef61a45f211cb9cc525f8c9760d5d0560ed157.tar.zst infinity-for-reddit-0bef61a45f211cb9cc525f8c9760d5d0560ed157.zip |
Tweak the design of comments.
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/item_comment.xml | 37 | ||||
-rw-r--r-- | app/src/main/res/layout/item_comment_fully_collapsed.xml | 6 | ||||
-rw-r--r-- | app/src/main/res/layout/item_load_more_comments_placeholder.xml | 4 |
3 files changed, 8 insertions, 39 deletions
diff --git a/app/src/main/res/layout/item_comment.xml b/app/src/main/res/layout/item_comment.xml index 9ba592ed..a33b8a36 100644 --- a/app/src/main/res/layout/item_comment.xml +++ b/app/src/main/res/layout/item_comment.xml @@ -8,45 +8,14 @@ android:background="?attr/cardViewBackgroundColor"> <LinearLayout - android:id="@+id/linear_layout_item_comment" android:layout_width="match_parent" android:layout_height="wrap_content"> - <View - android:id="@+id/vertical_block_item_post_comment" - android:layout_width="0dp" - android:layout_height="match_parent" /> - - <!--<View - android:id="@+id/vertical_block_item_post_comment" - android:layout_width="0dp" - android:layout_height="match_parent" /> - - <View - android:id="@+id/vertical_block_item_post_comment" - android:layout_width="0dp" - android:layout_height="match_parent" /> - - <View - android:id="@+id/vertical_block_item_post_comment" - android:layout_width="0dp" - android:layout_height="match_parent" /> - - <View - android:id="@+id/vertical_block_item_post_comment" - android:layout_width="0dp" - android:layout_height="match_parent" /> - - <View - android:id="@+id/vertical_block_item_post_comment" - android:layout_width="0dp" + <ml.docilealligator.infinityforreddit.customviews.CommentIndentationView + android:id="@+id/vertical_block_indentation_item_comment" + android:layout_width="wrap_content" android:layout_height="match_parent" /> - <View - android:id="@+id/vertical_block_item_post_comment" - android:layout_width="0dp" - android:layout_height="match_parent" />--> - <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" 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 f572c49f..a2751958 100644 --- a/app/src/main/res/layout/item_comment_fully_collapsed.xml +++ b/app/src/main/res/layout/item_comment_fully_collapsed.xml @@ -8,9 +8,9 @@ android:layout_width="match_parent" android:layout_height="wrap_content"> - <View - android:id="@+id/vertical_block_item_comment_fully_collapsed" - android:layout_width="0dp" + <ml.docilealligator.infinityforreddit.customviews.CommentIndentationView + android:id="@+id/vertical_block_indentation_item_comment_fully_collapsed" + android:layout_width="wrap_content" android:layout_height="match_parent" /> <TextView diff --git a/app/src/main/res/layout/item_load_more_comments_placeholder.xml b/app/src/main/res/layout/item_load_more_comments_placeholder.xml index f045676d..d5f83544 100644 --- a/app/src/main/res/layout/item_load_more_comments_placeholder.xml +++ b/app/src/main/res/layout/item_load_more_comments_placeholder.xml @@ -9,8 +9,8 @@ android:layout_width="match_parent" android:layout_height="wrap_content"> - <View - android:id="@+id/vertical_block_item_load_more_comments" + <ml.docilealligator.infinityforreddit.customviews.CommentIndentationView + android:id="@+id/vertical_block_indentation_item_load_more_comments_placeholder" android:layout_width="wrap_content" android:layout_height="match_parent" /> |