layout_comment_title.xml
3.28 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
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"?>
<LinearLayout 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"
android:orientation="vertical">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="48dp">
<TextView
android:id="@+id/comment_title_tv"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginLeft="10dp"
android:layout_marginRight="12dp"
android:text="评论"
android:textColor="@color/color_text_normal_999"
android:textSize="13sp" />
<TextView
android:id="@+id/comment_title_tv_nums"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBottom="@id/comment_title_tv"
android:layout_toRightOf="@id/comment_title_tv"
android:textSize="10sp"
tools:text="最近评论 200" />
</RelativeLayout>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="@color/color_cutline_ececec" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="63dp"
android:gravity="center_vertical"
android:orientation="horizontal"
android:paddingLeft="15dp">
<ImageView
android:id="@+id/comment_title_img_head"
android:layout_width="29dp"
android:layout_height="29dp"
android:layout_marginRight="16dp"
android:src="@mipmap/icon_default_portrait_87" />
<RelativeLayout
android:id="@+id/comment_title_layout_comment"
android:layout_width="290dp"
android:layout_height="wrap_content"
android:background="@drawable/rectangle_gray_f7f7f7_10"
android:orientation="horizontal"
android:paddingRight="10dp">
<TextView
android:id="@+id/comment_title_tv_textlimit"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:gravity="center_vertical"
android:text="200字"
android:textColor="@color/color_text_normal_999"
android:textSize="11sp" />
<TextView
android:id="@+id/comment_title_et"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_toLeftOf="@id/comment_title_tv_textlimit"
android:background="@null"
android:gravity="center_vertical"
android:hint="我要评论"
android:includeFontPadding="false"
android:paddingLeft="15dp"
android:textColor="#a1a1a1"
android:textSize="13sp" />
</RelativeLayout>
</LinearLayout>
</LinearLayout>