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 | <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 18 | android:id="@+id/subwindow_container" |
Romain Guy | 15b8ec6 | 2010-01-08 15:06:43 -0800 | [diff] [blame] | 19 | android:layout_width="match_parent" |
| 20 | android:layout_height="match_parent" > |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 21 | <FrameLayout |
Romain Guy | 15b8ec6 | 2010-01-08 15:06:43 -0800 | [diff] [blame] | 22 | android:layout_width="match_parent" |
| 23 | android:layout_height="match_parent" |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 24 | android:padding="10dip" > |
| 25 | <LinearLayout |
Leon Scroggins III | 211ba54 | 2010-04-19 13:21:13 -0400 | [diff] [blame] | 26 | android:id="@+id/inner_container" |
Romain Guy | 15b8ec6 | 2010-01-08 15:06:43 -0800 | [diff] [blame] | 27 | android:layout_width="match_parent" |
| 28 | android:layout_height="match_parent" |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 29 | android:orientation="vertical" |
| 30 | android:background="@android:drawable/dialog_frame" > |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 31 | </LinearLayout> |
| 32 | </FrameLayout> |
| 33 | <LinearLayout |
Romain Guy | 15b8ec6 | 2010-01-08 15:06:43 -0800 | [diff] [blame] | 34 | android:layout_width="match_parent" |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 35 | android:layout_height="wrap_content" |
| 36 | android:orientation="vertical" |
| 37 | android:layout_gravity="right" |
| 38 | android:gravity="right" > |
| 39 | <ImageButton android:id="@+id/subwindow_close" |
| 40 | android:focusable="true" |
| 41 | android:padding="0dip" |
| 42 | android:layout_width="wrap_content" |
| 43 | android:layout_height="wrap_content" |
| 44 | android:background="@android:drawable/btn_default" |
| 45 | android:src="@android:drawable/ic_menu_close_clear_cancel" /> |
| 46 | </LinearLayout> |
| 47 | </RelativeLayout> |