fragment_zi_xun.xml
7.71 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
<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="match_parent"
android:orientation="vertical"
android:background="@color/bgColor"
tools:context="com.shunzhi.parent.ui.fragment.ConsultFragment">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="?android:actionBarSize"
android:background="@color/titleColor">
<TextView
android:id="@+id/tvLocalAddress"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:drawablePadding="@dimen/size_dp_5"
android:drawableRight="@drawable/pull"
android:gravity="center"
android:paddingLeft="@dimen/size_dp_15"
android:text="杭州"
android:textColor="@color/textColor"
android:textSize="@dimen/textSize16" />
<FrameLayout
android:focusableInTouchMode="true"
android:focusable="true"
android:layout_width="match_parent"
android:layout_height="match_parent">
<EditText
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/shape_edit_radius4_white"
android:layout_margin="@dimen/size_dp_10"
android:hint="请输入搜索内容"
android:textSize="@dimen/textSize16"
android:gravity="center"
android:id="@+id/et_search"
/>
<ImageView
android:id="@+id/ivSearch"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_gravity="right"
android:paddingLeft="@dimen/size_dp_15"
android:paddingRight="@dimen/size_dp_15"
android:src="@drawable/search_black" />
</FrameLayout>
</LinearLayout>
<com.stx.xhb.xbanner.XBanner
android:id="@+id/xBanner"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="2"
></com.stx.xhb.xbanner.XBanner>
<LinearLayout
android:layout_margin="@dimen/size_dp_10"
android:layout_marginTop="@dimen/size_dp_5"
android:layout_marginBottom="@dimen/size_dp_5"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:background="@color/white"
android:padding="@dimen/size_dp_10">
<com.shunzhi.parent.views.TextAndImgShowView
android:id="@+id/textAndImg1"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="?android:selectableItemBackground">
</com.shunzhi.parent.views.TextAndImgShowView>
<com.shunzhi.parent.views.TextAndImgShowView
android:id="@+id/textAndImg2"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1">
</com.shunzhi.parent.views.TextAndImgShowView>
<com.shunzhi.parent.views.TextAndImgShowView
android:id="@+id/textAndImg3"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1">
</com.shunzhi.parent.views.TextAndImgShowView>
<com.shunzhi.parent.views.TextAndImgShowView
android:id="@+id/textAndImg4"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1">
</com.shunzhi.parent.views.TextAndImgShowView>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:orientation="vertical"
>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="@dimen/textSize16"
android:textColor="@color/xueqing_blue"
android:text="@string/consult_huati"
android:layout_marginLeft="@dimen/size_dp_10"
/>
<LinearLayout
android:layout_marginLeft="@dimen/size_dp_10"
android:layout_marginRight="@dimen/size_dp_10"
android:background="@color/white"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="4"
android:orientation="vertical"
android:padding="@dimen/size_dp_5"
>
<TextView
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="2"
android:gravity="center_vertical"
android:textColor="@color/textColor"
android:textSize="@dimen/textSize14"
android:text="学校初一段家长统一测试使用家长慧得到良好反馈评价"
android:maxLines="2"
android:ellipsize="end"
android:id="@+id/tvConsultTitle"
/>
<TextView
android:gravity="center_vertical"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="2"
android:singleLine="true"
android:textColor="@color/zxlx"
android:textSize="@dimen/textSize14"
android:text="家长表示对孩子学习情况更加了解"
android:maxLines="2"
android:ellipsize="end"
android:id="@+id/tvConsultContent"
/>
<FrameLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
>
<TextView
style="@style/TextView_Wrap_16"
android:textSize="@dimen/textSize14"
android:text="评论:30"
android:layout_gravity="center_vertical"
android:id="@+id/tvPingLunNums"
/>
<TextView
style="@style/TextView_Wrap_16"
android:textSize="@dimen/textSize14"
android:text="转发:50"
android:layout_gravity="right|center_vertical"
android:id="@+id/tvZhuanFaNums"
/>
</FrameLayout>
</LinearLayout>
<ImageView
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="2"
android:src="@color/xueqing_blue"
/>
</LinearLayout>
</LinearLayout>
<FrameLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="2"
android:layout_margin="@dimen/size_dp_10"
>
<cn.jzvd.JZVideoPlayerStandard
android:id="@+id/videoplayer"
android:layout_width="match_parent"
android:layout_height="match_parent"
></cn.jzvd.JZVideoPlayerStandard>
</FrameLayout>
</LinearLayout>