The Android Open Source Project | ba6d7b8 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 1 | <?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 Project | b7775e1 | 2009-02-10 15:44:04 -0800 | [diff] [blame^] | 21 | 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 Project | ed217d9 | 2008-12-17 18:05:52 -0800 | [diff] [blame] | 26 | <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 Project | ba6d7b8 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 49 | android:layout_height="wrap_content" |
The Android Open Source Project | ed217d9 | 2008-12-17 18:05:52 -0800 | [diff] [blame] | 50 | android:scrollHorizontally="true" |
The Android Open Source Project | b7775e1 | 2009-02-10 15:44:04 -0800 | [diff] [blame^] | 51 | android:inputType="text" |
The Android Open Source Project | ed217d9 | 2008-12-17 18:05:52 -0800 | [diff] [blame] | 52 | 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 Project | ba6d7b8 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 60 | > |
The Android Open Source Project | ed217d9 | 2008-12-17 18:05:52 -0800 | [diff] [blame] | 61 | <TextView android:id="@+id/matches" |
The Android Open Source Project | ba6d7b8 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 62 | android:layout_width="wrap_content" |
| 63 | android:layout_height="wrap_content" |
The Android Open Source Project | ed217d9 | 2008-12-17 18:05:52 -0800 | [diff] [blame] | 64 | 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 Project | ba6d7b8 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 68 | /> |
| 69 | <TextView |
| 70 | android:layout_width="wrap_content" |
| 71 | android:layout_height="wrap_content" |
The Android Open Source Project | ed217d9 | 2008-12-17 18:05:52 -0800 | [diff] [blame] | 72 | 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 Project | ba6d7b8 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 77 | /> |
| 78 | </LinearLayout> |
The Android Open Source Project | ed217d9 | 2008-12-17 18:05:52 -0800 | [diff] [blame] | 79 | </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 Project | ba6d7b8 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 85 | </LinearLayout> |
| 86 | |