fragment_comment.xml
2.21 KB
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
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:background="@drawable/res_shape_white_fix_background_disappearance_issue"
android:descendantFocusability="blocksDescendants"
android:orientation="vertical"
tools:context="com.people.comment.fragment.CommentFragment">
<RelativeLayout
android:id="@+id/rltop"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/rmrb_dp14"
android:layout_marginTop="@dimen/rmrb_dp16"
android:layout_marginBottom="@dimen/rmrb_dp8"
android:visibility="gone">
<ImageView
android:id="@+id/ivleft"
android:layout_width="@dimen/rmrb_dp3"
android:layout_height="@dimen/rmrb_dp16"
android:layout_centerVertical="true"
android:layout_marginRight="@dimen/rmrb_dp5"
android:scaleType="fitXY"
android:src="@mipmap/icon_search_recommendationsleft" />
<com.wd.foundation.wdkit.view.customtextview.StrokeWidthTextView
android:id="@+id/header_Tv"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_toRightOf="@id/ivleft"
android:gravity="center_vertical"
android:text="全部评论"
android:textColor="@color/res_color_common_C1"
android:textSize="@dimen/rmrb_dp17"
app:text_stroke_width="1"/>
</RelativeLayout>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/rltop"
android:descendantFocusability="blocksDescendants">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/comment_Rv"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:nestedScrollingEnabled="false"/>
</RelativeLayout>
</RelativeLayout>