/[zanavi_public1]/navit/navit/android/res/layout/activity_search_form.xml
ZANavi

Contents of /navit/navit/android/res/layout/activity_search_form.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 41 - (show annotations) (download) (as text)
Tue Aug 11 18:50:37 2015 UTC (8 years, 8 months ago) by zoff99
File MIME type: text/xml
File size: 7085 byte(s)
many fixes, and new features
1 <?xml version="1.0" encoding="utf-8"?>
2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3 android:id="@+id/search_form_root"
4 android:layout_width="fill_parent"
5 android:layout_height="fill_parent"
6 android:orientation="vertical" >
7
8 <android.support.v7.widget.Toolbar
9 xmlns:app="http://schemas.android.com/apk/res-auto"
10 android:id="@+id/toolbar2nd"
11 android:layout_width="match_parent"
12 android:layout_height="wrap_content"
13 android:background="?attr/colorPrimary"
14 android:minHeight="?attr/actionBarSize"
15 app:navigationContentDescription="@string/abc_action_bar_up_description"
16 app:navigationIcon="?attr/homeAsUpIndicator" />
17
18 <LinearLayout
19 android:layout_width="match_parent"
20 android:layout_height="match_parent"
21 android:orientation="vertical"
22 android:padding="0dp" >
23
24 <LinearLayout
25 android:layout_width="match_parent"
26 android:layout_height="wrap_content"
27 android:orientation="vertical"
28 android:padding="6dp" >
29
30 <RelativeLayout
31 android:id="@+id/index_light_container"
32 android:layout_width="match_parent"
33 android:layout_height="18dp"
34 android:orientation="horizontal"
35 android:padding="0dp" >
36
37 <ImageView
38 android:id="@+id/index_light_img"
39 android:layout_width="20dp"
40 android:layout_height="match_parent"
41 android:layout_centerInParent="true"
42 android:layout_toRightOf="@+id/index_light_text"
43 android:background="@android:color/transparent"
44 android:scaleType="center"
45 android:src="@drawable/round_light_red" >
46 </ImageView>
47
48 <TextView
49 android:id="@+id/index_light_text"
50 android:layout_width="wrap_content"
51 android:layout_height="match_parent"
52 android:layout_alignParentLeft="true"
53 android:layout_centerInParent="true"
54 android:text="Index"
55 android:textSize="14sp" >
56 </TextView>
57
58 <TextView
59 android:id="@+id/index_light_noindex_text"
60 android:layout_width="wrap_content"
61 android:layout_height="match_parent"
62 android:layout_centerInParent="true"
63 android:layout_marginLeft="10dp"
64 android:layout_toRightOf="@+id/index_light_img"
65 android:text=""
66 android:textSize="14sp" >
67 </TextView>
68 </RelativeLayout>
69
70 <TextView
71 android:id="@+id/enter_dest"
72 android:layout_width="match_parent"
73 android:layout_height="wrap_content"
74 android:paddingTop="8dp"
75 android:text=""
76 android:textSize="20sp" >
77 </TextView>
78
79 <com.zoffcc.applications.zanavi.ZANaviAutoCompleteTextViewSearchLocation
80 android:id="@+id/et_address_string"
81 android:layout_width="match_parent"
82 android:layout_height="wrap_content"
83 android:text=""
84 android:textSize="20sp" />
85
86 <TextView
87 android:id="@+id/house_number"
88 android:layout_width="match_parent"
89 android:layout_height="wrap_content"
90 android:text=""
91 android:textSize="20sp" >
92 </TextView>
93
94 <EditText
95 android:id="@+id/et_house_number_string"
96 android:layout_width="match_parent"
97 android:layout_height="wrap_content"
98 android:text=""
99 android:textSize="20sp" />
100
101 <CheckBox
102 android:id="@+id/cb_partial_match"
103 android:layout_width="match_parent"
104 android:layout_height="wrap_content"
105 android:layout_marginTop="4dp"
106 android:padding="8dp"
107 android:text=""
108 android:textSize="20sp" >
109 </CheckBox>
110
111 <LinearLayout
112 android:id="@+id/hide_dup_and_count_container"
113 android:layout_width="match_parent"
114 android:layout_height="wrap_content"
115 android:layout_marginTop="4dp"
116 android:orientation="horizontal"
117 android:padding="0dp" >
118
119 <CheckBox
120 android:id="@+id/cb_hide_dup"
121 android:layout_width="wrap_content"
122 android:layout_height="wrap_content"
123 android:padding="8dp"
124 android:text=""
125 android:textSize="20sp" >
126 </CheckBox>
127
128 <TextView
129 android:id="@+id/result_count_number"
130 android:layout_width="fill_parent"
131 android:layout_height="wrap_content"
132 android:layout_alignParentRight="true"
133 android:layout_gravity="right"
134 android:gravity="right"
135 android:paddingRight="10dp"
136 android:text=""
137 android:textSize="19sp" >
138 </TextView>
139 </LinearLayout>
140
141 <CheckBox
142 android:id="@+id/cb_full_file"
143 android:layout_width="match_parent"
144 android:layout_height="wrap_content"
145 android:layout_marginTop="4dp"
146 android:padding="8dp"
147 android:text=""
148 android:textSize="20sp" >
149 </CheckBox>
150
151 <Button
152 android:id="@+id/bt_search"
153 android:layout_width="match_parent"
154 android:layout_height="wrap_content"
155 android:layout_marginTop="4dp"
156 android:padding="18dp"
157 android:text=""
158 android:textSize="20sp" />
159
160 <Button
161 android:id="@+id/bt_country_select"
162 android:layout_width="match_parent"
163 android:layout_height="wrap_content"
164 android:layout_marginTop="4dp"
165 android:padding="18dp"
166 android:text=""
167 android:textSize="20sp" />
168 </LinearLayout>
169
170 <ListView
171 android:id="@+id/search_realtime_result_container"
172 android:layout_width="match_parent"
173 android:layout_height="fill_parent"
174 android:fastScrollEnabled="true" >
175 </ListView>
176 </LinearLayout>
177
178 </LinearLayout>

   
Visit the ZANavi Wiki