common_problem_activity.xml
3.19 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
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/black50"
android:gravity="center"
android:orientation="vertical"
tools:context="com.studymachine.www.ui.activity.CommonProblemActivity">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="@dimen/dp_12"
android:background="@drawable/kuangda"
android:gravity="center_horizontal"
android:orientation="vertical"
android:paddingHorizontal="@dimen/dp_12"
android:paddingTop="@dimen/dp_14"
android:paddingBottom="@dimen/dp_38">
<com.hjq.bar.TitleBar
style="@style/ActionBarStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:barStyle="transparent"
app:leftIconWidth="@dimen/dp_22"
app:title="@string/common_problem"
app:titleSize="@dimen/sp_15" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="@dimen/dp_25"
android:layout_marginHorizontal="@dimen/dp_50"
android:layout_marginTop="@dimen/dp_5"
android:background="@drawable/common_side_bg"
android:gravity="center_vertical"
android:orientation="horizontal"
android:paddingHorizontal="@dimen/dp_12">
<ImageView
android:layout_width="@dimen/dp_16"
android:layout_height="@dimen/dp_16"
android:src="@drawable/search" />
<com.studymachine.www.widget.SeniorEditText
android:id="@+id/et_text"
style="@style/EditTextStyle"
android:layout_width="0px"
android:layout_height="wrap_content"
android:layout_weight="1"
android:hint="@string/search_hint"
android:singleLine="true" />
</LinearLayout>
<com.scwang.smart.refresh.layout.SmartRefreshLayout
android:id="@+id/rl_status_refresh"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:srlEnablePreviewInEditMode="false">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rv_list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingEnd="@dimen/dp_10"
android:scrollbarSize="@dimen/dp_4"
android:scrollbarThumbVertical="@drawable/scrollbar_thumb"
android:scrollbarTrackVertical="@drawable/scrollbar_track"
android:scrollbars="vertical"
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
tools:listitem="@layout/problem_item" />
</com.scwang.smart.refresh.layout.SmartRefreshLayout>
</LinearLayout>
</LinearLayout>