blob: b1da8f193c5a20c1ea72ffc24ca58ef297e5d6c7 [file] [log] [blame]
The Android Open Source Projectba6d7b82008-10-21 07:00:00 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2007 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
16
17<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
18 android:id="@+id/findControls"
19 android:layout_width="fill_parent"
20 android:layout_height="wrap_content"
21 android:background="@android:drawable/menu_full_frame"
22 android:paddingTop="12dip"
23 >
24
25 <LinearLayout
26 android:layout_width="wrap_content"
27 android:layout_height="wrap_content"
28 android:orientation="vertical"
29 android:layout_marginLeft="6dip"
30 android:layout_marginRight="6dip"
31 >
32 <ImageButton android:id="@+id/done"
33 android:layout_width="wrap_content"
34 android:layout_height="wrap_content"
35 android:src="@drawable/ic_browser_done"
36 />
37 <TextView
38 android:layout_width="wrap_content"
39 android:layout_height="wrap_content"
40 android:text="@string/done"
41 android:layout_gravity="center_horizontal"
42 android:textColor="?android:attr/textColorPrimaryInverse"
43 />
44 </LinearLayout>
45
46 <LinearLayout
47 android:layout_height="wrap_content"
48 android:layout_width="0dip"
49 android:layout_weight="1"
50 android:orientation="vertical"
51 android:layout_marginRight="6dip"
52 >
53 <EditText android:id="@+id/edit"
54 android:layout_width="fill_parent"
55 android:layout_height="wrap_content"
56 android:scrollHorizontally="true"
57 android:autoText="false"
58 android:capitalize="none"
59 android:hint="@string/find_dot"
60 />
61 <LinearLayout
62 android:layout_height="wrap_content"
63 android:layout_width="wrap_content"
64 android:orientation="horizontal"
65 android:layout_gravity="center_horizontal"
66 android:paddingTop="1dip"
67 >
68 <TextView
69 android:layout_width="wrap_content"
70 android:layout_height="wrap_content"
71 android:layout_marginRight="3dip"
72 android:text="@string/matches_found"
73 android:textColor="?android:attr/textColorPrimaryInverse"
74 />
75 <TextView android:id="@+id/matches"
76 android:layout_width="wrap_content"
77 android:layout_height="wrap_content"
78 android:text="@string/zero"
79 android:textColor="?android:attr/textColorPrimaryInverse"
80 />
81 </LinearLayout>
82 </LinearLayout>
83
84 <LinearLayout
85 android:layout_width="wrap_content"
86 android:layout_height="wrap_content"
87 android:orientation="vertical"
88 android:layout_marginRight="6dip"
89 >
90 <ImageButton
91 android:src="@drawable/ic_browser_up"
92 android:id="@+id/previous"
93 android:layout_width="wrap_content"
94 android:layout_height="wrap_content"
95 />
96 <TextView
97 android:layout_width="wrap_content"
98 android:layout_height="wrap_content"
99 android:text="@string/prev"
100 android:layout_gravity="center_horizontal"
101 android:textColor="?android:attr/textColorPrimaryInverse"
102 />
103 </LinearLayout>
104
105 <LinearLayout
106 android:layout_width="wrap_content"
107 android:layout_height="wrap_content"
108 android:orientation="vertical"
109 android:layout_marginRight="6dip"
110 >
111 <ImageButton
112 android:src="@drawable/ic_browser_down"
113 android:id="@+id/next"
114 android:layout_width="wrap_content"
115 android:layout_height="wrap_content"
116 />
117
118 <TextView
119 android:layout_width="wrap_content"
120 android:layout_height="wrap_content"
121 android:text="@string/next"
122 android:layout_gravity="center_horizontal"
123 android:textColor="?android:attr/textColorPrimaryInverse"
124 />
125 </LinearLayout>
126
127</LinearLayout>
128