lmw
2025-04-24 718f31c92e2029d05260810435a2c70cef6e6ce5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<?xml version="1.0" encoding="utf-8"?>
<androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    xmlns:app="http://schemas.android.com/apk/res-auto">
    <androidx.constraintlayout.widget.ConstraintLayout
        android:layout_width="match_parent"
        app:layout_constraintBottom_toBottomOf="parent"
        android:background="@drawable/bg_white_top_20dp"
        android:paddingBottom="30dp"
        android:layout_height="wrap_content">
        <TextView
            android:id="@+id/tv_count"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="0条提问"
            android:textColor="@color/textColor"
            android:textStyle="bold"
            android:textSize="16sp"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toTopOf="parent"
            app:layout_constraintEnd_toEndOf="parent"
            android:layout_marginTop="18dp"/>
        <ImageView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:id="@+id/iv_close"
            app:layout_constraintTop_toTopOf="@id/tv_count"
            app:layout_constraintBottom_toBottomOf="@id/tv_count"
            app:layout_constraintEnd_toEndOf="parent"
            android:padding="10dp"
            android:layout_marginEnd="5dp"
            android:src="@mipmap/close"/>
        <View
            android:layout_width="match_parent"
            android:layout_height="1px"
            android:background="@color/textColor66"
            app:layout_constraintTop_toBottomOf="@id/tv_count"
            android:layout_margin="21dp"/>
        <com.scwang.smart.refresh.layout.SmartRefreshLayout
            android:layout_width="match_parent"
            android:layout_height="420dp"
            app:layout_constraintTop_toBottomOf="@id/tv_count"
            android:layout_marginTop="22dp"
            android:id="@+id/refreshLayout">
            <com.scwang.smart.refresh.header.ClassicsHeader
                android:layout_width="match_parent"
                android:layout_height="wrap_content"/>
            <androidx.recyclerview.widget.RecyclerView
                android:id="@+id/rv_list"
                android:layout_width="match_parent"
                android:layout_height="match_parent"/>
            <com.scwang.smart.refresh.footer.ClassicsFooter
                android:layout_width="match_parent"
                android:layout_height="wrap_content"/>
        </com.scwang.smart.refresh.layout.SmartRefreshLayout>
        <View
            android:layout_width="match_parent"
            android:layout_height="1px"
            android:background="@color/textColor66"
            app:layout_constraintTop_toBottomOf="@id/refreshLayout"/>
        <TextView
            android:id="@+id/tv_action"
            app:layout_constraintTop_toBottomOf="@id/refreshLayout"
            app:layout_constraintEnd_toEndOf="parent"
            android:text="发布"
            android:textColor="@color/white"
            android:gravity="center"
            android:textSize="12sp"
            android:layout_marginEnd="40dp"
            android:layout_marginTop="24dp"
            android:layout_width="53dp"
            android:layout_height="30dp"
            android:background="@drawable/bg_green_14"/>
        <EditText
            android:id="@+id/et_content"
            android:layout_width="0dp"
            android:layout_height="30dp"
            android:background="@drawable/bg_grey_line_14dp"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintEnd_toStartOf="@id/tv_action"
            app:layout_constraintBaseline_toBaselineOf="@id/tv_action"
            android:layout_marginStart="40dp"
            android:singleLine="true"
            android:hint="留下你的精彩评论吧"
            android:paddingHorizontal="15dp"
            android:textSize="11sp"
            android:gravity="center_vertical"
            android:layout_marginEnd="14dp"/>
    </androidx.constraintlayout.widget.ConstraintLayout>
 
</androidx.core.widget.NestedScrollView>