blob: 7e587c1404b291f834f624213d0a778e39725176 [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 Projected217d92008-12-17 18:05:52 -080021 android:background="@android:drawable/bottom_bar"
The Android Open Source Projectba6d7b82008-10-21 07:00:00 -070022 android:paddingTop="12dip"
23 >
The Android Open Source Projected217d92008-12-17 18:05:52 -080024 <ImageButton
25 android:src="@drawable/ic_btn_find_prev"
26 android:id="@+id/previous"
27 android:layout_width="wrap_content"
28 android:layout_height="wrap_content"
29 />
30
31 <ImageButton
32 android:src="@drawable/ic_btn_find_next"
33 android:id="@+id/next"
34 android:layout_width="wrap_content"
35 android:layout_height="wrap_content"
36 />
37
38 <LinearLayout
39 android:layout_height="wrap_content"
40 android:layout_width="0dip"
41 android:layout_weight="1"
42 android:orientation="vertical"
43 android:layout_marginRight="6dip"
44 >
45 <EditText android:id="@+id/edit"
46 android:layout_width="fill_parent"
The Android Open Source Projectba6d7b82008-10-21 07:00:00 -070047 android:layout_height="wrap_content"
The Android Open Source Projected217d92008-12-17 18:05:52 -080048 android:scrollHorizontally="true"
49 android:autoText="false"
50 android:capitalize="none"
51 android:hint="@string/find_dot"
52 />
53 <LinearLayout android:id="@+id/matches_view"
54 android:layout_height="wrap_content"
55 android:layout_width="wrap_content"
56 android:orientation="horizontal"
57 android:layout_gravity="right"
58 android:visibility="invisible"
The Android Open Source Projectba6d7b82008-10-21 07:00:00 -070059 >
The Android Open Source Projected217d92008-12-17 18:05:52 -080060 <TextView android:id="@+id/matches"
The Android Open Source Projectba6d7b82008-10-21 07:00:00 -070061 android:layout_width="wrap_content"
62 android:layout_height="wrap_content"
The Android Open Source Projected217d92008-12-17 18:05:52 -080063 android:layout_gravity="right"
64 android:text="@string/zero"
65 android:textAppearance="?android:attr/textAppearanceSmall"
66 android:textColor="?android:attr/textColorSecondaryInverse"
The Android Open Source Projectba6d7b82008-10-21 07:00:00 -070067 />
68 <TextView
69 android:layout_width="wrap_content"
70 android:layout_height="wrap_content"
The Android Open Source Projected217d92008-12-17 18:05:52 -080071 android:layout_marginRight="3dip"
72 android:layout_gravity="right"
73 android:text="@string/matches_found"
74 android:textAppearance="?android:attr/textAppearanceSmall"
75 android:textColor="?android:attr/textColorSecondaryInverse"
The Android Open Source Projectba6d7b82008-10-21 07:00:00 -070076 />
77 </LinearLayout>
The Android Open Source Projected217d92008-12-17 18:05:52 -080078 </LinearLayout>
79 <ImageButton android:id="@+id/done"
80 android:layout_width="wrap_content"
81 android:layout_height="wrap_content"
82 android:src="@drawable/ic_btn_close_panel"
83 />
The Android Open Source Projectba6d7b82008-10-21 07:00:00 -070084</LinearLayout>
85