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 | ed217d9 | 2008-12-17 18:05:52 -0800 | [diff] [blame^] | 21 | android:background="@android:drawable/bottom_bar" |
The Android Open Source Project | ba6d7b8 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 22 | android:paddingTop="12dip" |
| 23 | > |
The Android Open Source Project | ed217d9 | 2008-12-17 18:05:52 -0800 | [diff] [blame^] | 24 | <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 Project | ba6d7b8 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 47 | android:layout_height="wrap_content" |
The Android Open Source Project | ed217d9 | 2008-12-17 18:05:52 -0800 | [diff] [blame^] | 48 | 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 Project | ba6d7b8 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 59 | > |
The Android Open Source Project | ed217d9 | 2008-12-17 18:05:52 -0800 | [diff] [blame^] | 60 | <TextView android:id="@+id/matches" |
The Android Open Source Project | ba6d7b8 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 61 | android:layout_width="wrap_content" |
| 62 | android:layout_height="wrap_content" |
The Android Open Source Project | ed217d9 | 2008-12-17 18:05:52 -0800 | [diff] [blame^] | 63 | 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 Project | ba6d7b8 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 67 | /> |
| 68 | <TextView |
| 69 | android:layout_width="wrap_content" |
| 70 | android:layout_height="wrap_content" |
The Android Open Source Project | ed217d9 | 2008-12-17 18:05:52 -0800 | [diff] [blame^] | 71 | 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 Project | ba6d7b8 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 76 | /> |
| 77 | </LinearLayout> |
The Android Open Source Project | ed217d9 | 2008-12-17 18:05:52 -0800 | [diff] [blame^] | 78 | </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 Project | ba6d7b8 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 84 | </LinearLayout> |
| 85 | |