2020-09-04 17:38:36 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-10-24 09:10:21 +00:00
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat xmlns:android="http://schemas.android.com/apk/res/android"
|
2020-09-04 17:38:36 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
|
|
|
android:id="@+id/swipeRefreshLayout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_weight="1">
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/rvComments"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:clipToPadding="false"
|
|
|
|
tools:listitem="@layout/item_comment" />
|
|
|
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
android:id="@+id/commentField"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_margin="4dp"
|
|
|
|
android:hint="@string/comment_hint"
|
2020-11-13 22:29:17 +00:00
|
|
|
android:visibility="gone"
|
2020-09-04 17:38:36 +00:00
|
|
|
app:counterEnabled="true"
|
|
|
|
app:counterMaxLength="2200"
|
2021-01-02 02:54:32 +00:00
|
|
|
app:endIconDrawable="@drawable/ic_round_send_24"
|
2020-09-04 17:38:36 +00:00
|
|
|
app:endIconMode="custom"
|
|
|
|
app:startIconDrawable="@drawable/ic_close_24">
|
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
|
|
android:id="@+id/commentText"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:autofillHints="no"
|
|
|
|
android:inputType="textMultiLine"
|
|
|
|
android:maxLength="2200"
|
|
|
|
android:maxLines="10"
|
|
|
|
android:scrollHorizontally="false" />
|
|
|
|
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
2020-10-24 09:10:21 +00:00
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|