layout_consult_content.xml
3.18 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
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/size_dp_10">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/report_white">
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="4"
android:elevation="@dimen/size_dp_3"
android:orientation="vertical"
android:padding="@dimen/size_dp_5">
<TextView
android:id="@+id/tvConsultTitle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ellipsize="end"
android:gravity="center_vertical"
android:maxLines="2"
android:text="学校初一段家长统一测试使用家长慧得到良好反馈评价"
android:textColor="@color/textColor"
android:textSize="@dimen/textSize14" />
<TextView
android:id="@+id/tvConsultContent"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/size_dp_5"
android:ellipsize="end"
android:gravity="center_vertical"
android:maxLines="2"
android:singleLine="true"
android:text="家长表示对孩子学习情况更加了解"
android:textColor="@color/zxlx"
android:textSize="@dimen/textSize14" />
<FrameLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/size_dp_5">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/tvPingLunNums"
style="@style/TextView_Wrap_16"
android:layout_gravity="center_vertical"
android:text="评论:30"
android:textSize="@dimen/textSize14" />
<TextView
android:id="@+id/tvZhuanFaNums"
style="@style/TextView_Wrap_16"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:text="转发:50"
android:textSize="@dimen/textSize14" />
</RelativeLayout>
</FrameLayout>
</LinearLayout>
<ImageView
android:id="@+id/iv_consult"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_margin="@dimen/size_dp_2"
android:layout_weight="2"
android:src="@color/xueqing_blue" />
</LinearLayout>
</LinearLayout>