diff options
author | Alex Ning <chineseperson5@gmail.com> | 2019-06-14 10:14:49 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2019-06-14 10:14:49 +0000 |
commit | 502cbe02ba9ad397d616961bd7cb85ae66aced8e (patch) | |
tree | a35426388cc2e86d2841c3c9bcc37eee1d790bfb /app/src/main/res/layout | |
parent | 72d811186f09aea6a6be93b5e4cf1d35083d2462 (diff) | |
download | infinity-for-reddit-502cbe02ba9ad397d616961bd7cb85ae66aced8e.tar infinity-for-reddit-502cbe02ba9ad397d616961bd7cb85ae66aced8e.tar.gz infinity-for-reddit-502cbe02ba9ad397d616961bd7cb85ae66aced8e.tar.bz2 infinity-for-reddit-502cbe02ba9ad397d616961bd7cb85ae66aced8e.tar.lz infinity-for-reddit-502cbe02ba9ad397d616961bd7cb85ae66aced8e.tar.xz infinity-for-reddit-502cbe02ba9ad397d616961bd7cb85ae66aced8e.tar.zst infinity-for-reddit-502cbe02ba9ad397d616961bd7cb85ae66aced8e.zip |
Reply to comments. Preparing for comment deletion.
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/activity_comment.xml | 9 | ||||
-rw-r--r-- | app/src/main/res/layout/item_comment.xml | 15 |
2 files changed, 22 insertions, 2 deletions
diff --git a/app/src/main/res/layout/activity_comment.xml b/app/src/main/res/layout/activity_comment.xml index c494cf3f..4a7be7b0 100644 --- a/app/src/main/res/layout/activity_comment.xml +++ b/app/src/main/res/layout/activity_comment.xml @@ -28,11 +28,18 @@ android:padding="16dp" app:layout_behavior="@string/appbar_scrolling_view_behavior"> - <TextView + <!--<TextView android:id="@+id/comment_parent_text_view_comment_activity" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginBottom="16dp" + android:textSize="16sp" />--> + + <ru.noties.markwon.view.MarkwonView + android:id="@+id/comment_parent_markwon_view_comment_activity" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginBottom="16dp" android:textSize="16sp" /> <EditText diff --git a/app/src/main/res/layout/item_comment.xml b/app/src/main/res/layout/item_comment.xml index c5bb40bc..d04f78b6 100644 --- a/app/src/main/res/layout/item_comment.xml +++ b/app/src/main/res/layout/item_comment.xml @@ -104,7 +104,7 @@ android:id="@+id/expand_button_item_post_comment" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_toStartOf="@id/reply_button_item_post_comment" + android:layout_toStartOf="@id/share_button_item_post_comment" android:layout_centerVertical="true" android:layout_marginEnd="16dp" android:tint="@android:color/tab_indicator_text" @@ -114,6 +114,19 @@ android:visibility="gone"/> <ImageView + android:id="@+id/share_button_item_post_comment" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_toStartOf="@id/reply_button_item_post_comment" + android:layout_centerVertical="true" + android:layout_marginEnd="16dp" + android:src="@drawable/ic_outline_share_20px" + android:tint="@android:color/tab_indicator_text" + android:background="?actionBarItemBackground" + android:clickable="true" + android:focusable="true"/> + + <ImageView android:id="@+id/reply_button_item_post_comment" android:layout_width="wrap_content" android:layout_height="wrap_content" |