diff options
author | Alex Ning <chineseperson5@gmail.com> | 2021-10-09 12:11:35 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2021-10-09 12:11:35 +0000 |
commit | e02f5a28b3376a649867c11c8bf3a5a74646fc54 (patch) | |
tree | 0e0c41065c9ba6a45773894f5e7abccff871e366 /app | |
parent | 68e94fa92892bd952e31b068d57ef73d42a329d2 (diff) | |
download | infinity-for-reddit-e02f5a28b3376a649867c11c8bf3a5a74646fc54.tar infinity-for-reddit-e02f5a28b3376a649867c11c8bf3a5a74646fc54.tar.gz infinity-for-reddit-e02f5a28b3376a649867c11c8bf3a5a74646fc54.tar.bz2 infinity-for-reddit-e02f5a28b3376a649867c11c8bf3a5a74646fc54.tar.lz infinity-for-reddit-e02f5a28b3376a649867c11c8bf3a5a74646fc54.tar.xz infinity-for-reddit-e02f5a28b3376a649867c11c8bf3a5a74646fc54.tar.zst infinity-for-reddit-e02f5a28b3376a649867c11c8bf3a5a74646fc54.zip |
Smooth scrolling in EditCommentActivity.
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/res/layout/activity_edit_comment.xml | 29 |
1 files changed, 17 insertions, 12 deletions
diff --git a/app/src/main/res/layout/activity_edit_comment.xml b/app/src/main/res/layout/activity_edit_comment.xml index 6970c208..1d130fc8 100644 --- a/app/src/main/res/layout/activity_edit_comment.xml +++ b/app/src/main/res/layout/activity_edit_comment.xml @@ -29,19 +29,25 @@ android:orientation="vertical" app:layout_behavior="@string/appbar_scrolling_view_behavior"> - <EditText - android:id="@+id/comment_edit_text_edit_comment_activity" + <androidx.core.widget.NestedScrollView android:layout_width="match_parent" android:layout_height="0dp" - android:layout_weight="1" - android:background="#00000000" - android:gravity="top" - android:hint="@string/post_text_content_hint" - android:inputType="textCapSentences|textMultiLine" - android:padding="16dp" - android:textColor="?attr/primaryTextColor" - android:textSize="?attr/content_font_18" - android:fontFamily="?attr/content_font_family" /> + android:layout_weight="1"> + + <EditText + android:id="@+id/comment_edit_text_edit_comment_activity" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:background="#00000000" + android:gravity="top" + android:hint="@string/post_text_content_hint" + android:inputType="textCapSentences|textMultiLine" + android:padding="16dp" + android:textColor="?attr/primaryTextColor" + android:textSize="?attr/content_font_18" + android:fontFamily="?attr/content_font_family" /> + + </androidx.core.widget.NestedScrollView> <androidx.recyclerview.widget.RecyclerView android:id="@+id/markdown_bottom_bar_recycler_view_edit_comment_activity" @@ -52,5 +58,4 @@ </LinearLayout> - </androidx.coordinatorlayout.widget.CoordinatorLayout>
\ No newline at end of file |