aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2019-08-20 07:01:54 +0000
committerAlex Ning <chineseperson5@gmail.com>2019-08-20 07:01:54 +0000
commit029bbc951b3b7d128b9eb1a469942a8f03676d83 (patch)
tree17ecdba34d7bd6ffd49a55d47efbb3f7fdda394d /app/src/main/res/layout
parenta340517974de51293437ab3bf9f036b15408a58c (diff)
downloadinfinity-for-reddit-029bbc951b3b7d128b9eb1a469942a8f03676d83.tar
infinity-for-reddit-029bbc951b3b7d128b9eb1a469942a8f03676d83.tar.gz
infinity-for-reddit-029bbc951b3b7d128b9eb1a469942a8f03676d83.tar.bz2
infinity-for-reddit-029bbc951b3b7d128b9eb1a469942a8f03676d83.tar.lz
infinity-for-reddit-029bbc951b3b7d128b9eb1a469942a8f03676d83.tar.xz
infinity-for-reddit-029bbc951b3b7d128b9eb1a469942a8f03676d83.tar.zst
infinity-for-reddit-029bbc951b3b7d128b9eb1a469942a8f03676d83.zip
Handle sending comment fails. Fixed snackbar hidden by keyboard in some activities. Minor bugs fixed.
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/activity_comment.xml46
1 files changed, 26 insertions, 20 deletions
diff --git a/app/src/main/res/layout/activity_comment.xml b/app/src/main/res/layout/activity_comment.xml
index 65abe106..76a053bf 100644
--- a/app/src/main/res/layout/activity_comment.xml
+++ b/app/src/main/res/layout/activity_comment.xml
@@ -21,31 +21,37 @@
</com.google.android.material.appbar.AppBarLayout>
- <LinearLayout
+ <androidx.core.widget.NestedScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:orientation="vertical"
- android:padding="16dp"
app:layout_behavior="@string/appbar_scrolling_view_behavior">
- <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
- android:id="@+id/comment_edit_text_comment_activity"
+ <LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:gravity="top"
- android:hint="@string/write_comment_hint"
- android:inputType="textCapSentences|textMultiLine"
- android:textSize="18sp"
- android:background="#00000000"
- android:textColor="@color/primaryTextColor" />
-
- </LinearLayout>
+ android:orientation="vertical"
+ android:padding="16dp">
+
+ <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
+ android:id="@+id/comment_edit_text_comment_activity"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:gravity="top"
+ android:hint="@string/write_comment_hint"
+ android:inputType="textCapSentences|textMultiLine"
+ android:textSize="18sp"
+ android:background="#00000000"
+ android:textColor="@color/primaryTextColor" />
+
+ </LinearLayout>
+
+ </androidx.core.widget.NestedScrollView>
</androidx.coordinatorlayout.widget.CoordinatorLayout> \ No newline at end of file