93 lines
3.7 KiB
XML
93 lines
3.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<layout 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"
|
|
tools:context=".widget.dialog.CommentDialogFragment">
|
|
|
|
<data>
|
|
|
|
</data>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@drawable/bg_r16_fff"
|
|
android:orientation="vertical"
|
|
>
|
|
<TextView
|
|
android:id="@+id/tv_num"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center|left"
|
|
android:layout_margin="@dimen/dp_16"
|
|
android:layout_marginTop="@dimen/dp_12"
|
|
android:text="全部评论(56)"
|
|
android:textColor="@color/color_FF333333"
|
|
android:textSize="@dimen/sp_16"
|
|
android:textStyle="bold" />
|
|
|
|
<com.scwang.smartrefresh.layout.SmartRefreshLayout
|
|
android:id="@+id/srl"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1"
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/rv_comment"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:text="Hello World!"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
</com.scwang.smartrefresh.layout.SmartRefreshLayout>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_0_5"
|
|
android:background="#ccc" />
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
android:id="@+id/cl_input"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_83"
|
|
android:fitsSystemWindows="true"
|
|
tools:visibility="visible"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintBottom_toBottomOf="parent">
|
|
|
|
<EditText
|
|
android:id="@+id/et_input"
|
|
android:layout_width="@dimen/dp_242"
|
|
android:layout_height="@dimen/dp_34"
|
|
android:layout_marginStart="@dimen/dp_16"
|
|
android:background="@drawable/bg_r80_hui"
|
|
android:gravity="center|left"
|
|
android:textSize="@dimen/sp_14"
|
|
android:hint="就差你一个神评论~"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_send"
|
|
android:layout_width="@dimen/dp_79"
|
|
android:layout_height="@dimen/dp_31"
|
|
android:layout_marginEnd="@dimen/dp_12"
|
|
android:background="@drawable/cs"
|
|
android:gravity="center"
|
|
android:text="发送"
|
|
android:textColor="@color/color_FF333333"
|
|
android:textSize="@dimen/sp_12"
|
|
android:textStyle="bold"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
</LinearLayout>
|
|
</layout> |