forked from openMF/ppi-vision
-
Notifications
You must be signed in to change notification settings - Fork 0
/
content_main.xml
83 lines (71 loc) · 3.37 KB
/
content_main.xml
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"?>
<androidx.constraintlayout.widget.ConstraintLayout 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"
tools:context=".ui.home.MainActivity">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/veryLightGray"
android:orientation="vertical"
android:padding="@dimen/ll_margin"
android:layout_marginTop="56sp"
app:layout_constraintTop_toTopOf="parent">
<TextView
android:id="@+id/textView5"
style="@style/heading_style"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/foursp_margin"
android:text="@string/search" />
<TextView
android:id="@+id/textView6"
style="@style/sub_heading_style2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Search client via name or account number" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">
<com.google.android.material.textfield.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/activity_vertical_margin"
android:layout_marginTop="@dimen/activity_vertical_margin">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/search_query"
android:layout_width="320dp"
android:layout_height="wrap_content"
android:hint="@string/search_query"
android:imeOptions="actionSearch"
android:singleLine="true"/>
</com.google.android.material.textfield.TextInputLayout>
<ImageButton
android:id="@+id/search_btn"
android:background="@drawable/button_design"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="7dp"
android:enabled="false"
android:alpha="0.5"
android:src="@drawable/ic_search"
android:layout_marginTop="25dp" />
</LinearLayout>
<TextView
android:id="@+id/listHeading"
style="@style/heading_style2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/foursp_margin"
android:layout_marginBottom="@dimen/foursp_margin"
android:text="@string/search_results" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/client_search_list"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" />
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>