activity_konwledge_query.xml
3.16 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
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<RelativeLayout
android:id="@+id/rl_title"
style="@style/title">
<TextView
android:id="@+id/tv_title"
style="@style/text_title"
android:text="@string/konwledge_querry" />
<ImageView
android:id="@+id/title_back"
style="@style/title_image_back"
/>
</RelativeLayout>
<ImageView style="@style/card_line" />
<TextView
android:layout_width="match_parent"
android:layout_height="35dp"
android:background="@color/color_ee"
android:gravity="center_vertical"
android:paddingLeft="10dp"
android:text="@string/pls_input_query_key"
android:textColor="@color/cl_home_title_text_color"
android:textSize="13sp" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:gravity="center_vertical"
android:orientation="horizontal">
<EditText
android:id="@+id/edt_content"
style="@style/learn_course_edit"
android:layout_width="0dp"
android:layout_weight="1"
android:gravity="center_vertical"
android:hint="限20个字"
android:maxLength="20" />
<Button
android:id="@+id/btn_query"
style="@style/btn_common"
android:layout_width="70dp"
android:layout_height="33dp"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:background="@drawable/btn_blue_commom"
android:text="@string/query_str" />
</LinearLayout>
<TextView
android:id="@+id/tv_result"
android:layout_width="match_parent"
android:layout_height="35dp"
android:layout_marginTop="5dp"
android:background="@color/color_ee"
android:gravity="center_vertical"
android:paddingLeft="10dp"
android:text="相关联的知识共有0条"
android:textColor="@color/cl_home_title_text_color"
android:textSize="13sp" />
<com.scwang.smartrefresh.layout.SmartRefreshLayout
android:id="@+id/refresh_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#f5f5f5">
<android.support.v7.widget.RecyclerView
android:id="@+id/rv_knowledge"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:overScrollMode="never" />
</com.scwang.smartrefresh.layout.SmartRefreshLayout>
</LinearLayout>
</layout>