blob: 000799f1edf3233b34a078871d04cecae8ac01c8 [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"
The Android Open Source Projectb7775e12009-02-10 15:44:04 -080021 android:paddingTop="5dip"
22 android:paddingLeft="4dip"
23 android:paddingRight="4dip"
24 android:paddingBottom="1dip"
25 android:background="@android:drawable/bottom_bar">
The Android Open Source Projected217d92008-12-17 18:05:52 -080026 <ImageButton
27 android:src="@drawable/ic_btn_find_prev"
28 android:id="@+id/previous"
29 android:layout_width="wrap_content"
30 android:layout_height="wrap_content"
31 />
32
33 <ImageButton
34 android:src="@drawable/ic_btn_find_next"
35 android:id="@+id/next"
36 android:layout_width="wrap_content"
37 android:layout_height="wrap_content"
38 />
39
40 <LinearLayout
41 android:layout_height="wrap_content"
42 android:layout_width="0dip"
43 android:layout_weight="1"
44 android:orientation="vertical"
45 android:layout_marginRight="6dip"
46 >
47 <EditText android:id="@+id/edit"
48 android:layout_width="fill_parent"
The Android Open Source Projectba6d7b82008-10-21 07:00:00 -070049 android:layout_height="wrap_content"
The Android Open Source Projected217d92008-12-17 18:05:52 -080050 android:scrollHorizontally="true"
The Android Open Source Projectb7775e12009-02-10 15:44:04 -080051 android:inputType="text"
The Android Open Source Projected217d92008-12-17 18:05:52 -080052 android:hint="@string/find_dot"
53 />
54 <LinearLayout android:id="@+id/matches_view"
55 android:layout_height="wrap_content"
56 android:layout_width="wrap_content"
57 android:orientation="horizontal"
58 android:layout_gravity="right"
59 android:visibility="invisible"
The Android Open Source Projectba6d7b82008-10-21 07:00:00 -070060 >
The Android Open Source Projected217d92008-12-17 18:05:52 -080061 <TextView android:id="@+id/matches"
The Android Open Source Projectba6d7b82008-10-21 07:00:00 -070062 android:layout_width="wrap_content"
63 android:layout_height="wrap_content"
The Android Open Source Projected217d92008-12-17 18:05:52 -080064 android:layout_gravity="right"
65 android:text="@string/zero"
66 android:textAppearance="?android:attr/textAppearanceSmall"
67 android:textColor="?android:attr/textColorSecondaryInverse"
The Android Open Source Projectba6d7b82008-10-21 07:00:00 -070068 />
69 <TextView
70 android:layout_width="wrap_content"
71 android:layout_height="wrap_content"
The Android Open Source Projected217d92008-12-17 18:05:52 -080072 android:layout_marginRight="3dip"
73 android:layout_gravity="right"
74 android:text="@string/matches_found"
75 android:textAppearance="?android:attr/textAppearanceSmall"
76 android:textColor="?android:attr/textColorSecondaryInverse"
The Android Open Source Projectba6d7b82008-10-21 07:00:00 -070077 />
78 </LinearLayout>
The Android Open Source Projected217d92008-12-17 18:05:52 -080079 </LinearLayout>
80 <ImageButton android:id="@+id/done"
81 android:layout_width="wrap_content"
82 android:layout_height="wrap_content"
83 android:src="@drawable/ic_btn_close_panel"
84 />
The Android Open Source Projectba6d7b82008-10-21 07:00:00 -070085</LinearLayout>
86