diff options
author | Alex Ning <chineseperson5@gmail.com> | 2020-02-22 10:22:02 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2020-02-22 10:22:02 +0000 |
commit | 4c6902a399bc63d097f844f4717b82a3dd60464d (patch) | |
tree | 483b7aae54e5dde0adc4aa1f52ec0248e4ddacfc /app/src/main/res | |
parent | 30ce4285c9126ac24b6de3e1342735786204c750 (diff) | |
download | infinity-for-reddit-4c6902a399bc63d097f844f4717b82a3dd60464d.tar infinity-for-reddit-4c6902a399bc63d097f844f4717b82a3dd60464d.tar.gz infinity-for-reddit-4c6902a399bc63d097f844f4717b82a3dd60464d.tar.bz2 infinity-for-reddit-4c6902a399bc63d097f844f4717b82a3dd60464d.tar.lz infinity-for-reddit-4c6902a399bc63d097f844f4717b82a3dd60464d.tar.xz infinity-for-reddit-4c6902a399bc63d097f844f4717b82a3dd60464d.tar.zst infinity-for-reddit-4c6902a399bc63d097f844f4717b82a3dd60464d.zip |
Show post or body (if it has) in CommentActivity.
Diffstat (limited to '')
-rw-r--r-- | app/src/main/res/layout/activity_comment.xml | 24 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 2 |
2 files changed, 22 insertions, 4 deletions
diff --git a/app/src/main/res/layout/activity_comment.xml b/app/src/main/res/layout/activity_comment.xml index 7ea850f6..decf27dd 100644 --- a/app/src/main/res/layout/activity_comment.xml +++ b/app/src/main/res/layout/activity_comment.xml @@ -31,21 +31,39 @@ <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" - android:orientation="vertical" - android:padding="16dp"> + android:orientation="vertical"> <TextView android:id="@+id/comment_parent_markwon_view_comment_activity" android:layout_width="match_parent" android:layout_height="wrap_content" + android:layout_margin="16dp" + android:textColor="@color/primaryTextColor" + android:textSize="?attr/title_font_16" /> + + <androidx.recyclerview.widget.RecyclerView + android:id="@+id/content_markdown_view_comment_activity" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginBottom="16dp" + android:layout_marginStart="16dp" + android:layout_marginEnd="16dp" + android:visibility="gone" /> + + <View + android:layout_width="match_parent" + android:layout_height="1dp" android:layout_marginBottom="16dp" - android:textSize="?attr/content_font_16" /> + android:background="@color/dividerColor" /> <EditText android:id="@+id/comment_edit_text_comment_activity" android:layout_width="match_parent" android:layout_height="match_parent" android:gravity="top" + android:paddingBottom="16dp" + android:paddingStart="16dp" + android:paddingEnd="16dp" android:hint="@string/write_comment_hint" android:inputType="textCapSentences|textMultiLine" android:textSize="?attr/content_font_18" diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index d0b349ae..0f9292a8 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -124,7 +124,7 @@ <string name="lazy_mode_start">Lazy Mode starts in %1$.1fs</string> <string name="lazy_mode_stop">Lazy Mode stopped</string> - <string name="write_comment_hint">Your interesting thought here</string> + <string name="write_comment_hint">Your interesting thoughts here</string> <string name="comment_content_required">Where is your interesting thought?</string> <string name="sending_comment">Sending</string> <string name="send_comment_success">Comment sent</string> |