mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-11-09 00:07:30 +00:00
48 lines
1.9 KiB
XML
48 lines
1.9 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
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"
|
||
|
app:layoutManager="LinearLayoutManager"
|
||
|
tools:listitem="@layout/item_comment" />
|
||
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
||
|
|
||
|
<com.google.android.material.textfield.TextInputLayout
|
||
|
android:id="@+id/commentField"
|
||
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_margin="4dp"
|
||
|
android:hint="@string/comment_hint"
|
||
|
app:counterEnabled="true"
|
||
|
app:counterMaxLength="2200"
|
||
|
app:endIconDrawable="@drawable/ic_send_24"
|
||
|
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>
|
||
|
</LinearLayout>
|