The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [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" |
Romain Guy | 15b8ec6 | 2010-01-08 15:06:43 -0800 | [diff] [blame] | 19 | android:layout_width="match_parent" |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 20 | android:layout_height="wrap_content" |
| 21 | android:paddingTop="5dip" |
| 22 | android:paddingLeft="4dip" |
| 23 | android:paddingRight="4dip" |
| 24 | android:paddingBottom="1dip" |
| 25 | android:background="@android:drawable/bottom_bar"> |
| 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" |
Romain Guy | 15b8ec6 | 2010-01-08 15:06:43 -0800 | [diff] [blame] | 48 | android:layout_width="match_parent" |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 49 | android:layout_height="wrap_content" |
| 50 | android:scrollHorizontally="true" |
| 51 | android:inputType="text" |
| 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" |
| 60 | > |
| 61 | <TextView android:id="@+id/matches" |
| 62 | android:layout_width="wrap_content" |
| 63 | android:layout_height="wrap_content" |
| 64 | android:layout_gravity="right" |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 65 | android:textAppearance="?android:attr/textAppearanceSmall" |
| 66 | android:textColor="?android:attr/textColorSecondaryInverse" |
| 67 | /> |
| 68 | </LinearLayout> |
| 69 | </LinearLayout> |
| 70 | <ImageButton android:id="@+id/done" |
| 71 | android:layout_width="wrap_content" |
| 72 | android:layout_height="wrap_content" |
| 73 | android:src="@drawable/ic_btn_close_panel" |
| 74 | /> |
| 75 | </LinearLayout> |
| 76 | |