리사이클러뷰의 내용이 많아지면 아래에 있는 EditText 와 Button 이 사라져요....
내용이 많아도 아래에 있는 EditText 와 Button 는 항상 아래에 있도록 하고싶어요...
간단할 것 같은데 어떻게 해야 하는지 모르겠어요...
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context=".navigation.CommentActivity">
<androidx.appcompat.widget.Toolbar
android:id="@+id/my_toolbar"
android:layout_width="match_parent"
android:layout_height="35dp">
<ImageView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:src="@drawable/pswoo1" />
</androidx.appcompat.widget.Toolbar>
<LinearLayout
android:id="@+id/toolbar_division"
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="@color/white"
android:orientation="horizontal" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/comment_recyclerview"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:layout_marginBottom="30dp" />
<LinearLayout
android:id="@+id/rel"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="bottom">
<EditText
android:id="@+id/comment_edit_message"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="10dp"
android:layout_toLeftOf="@+id/comment_btn_send"
android:layout_weight="1"/>
<Button
android:id="@+id/comment_btn_send"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_margin="8dp"
android:text="send" />
</LinearLayout>
</LinearLayout>