Jeff Sharkey | 09c10bf | 2013-06-30 20:02:59 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2013 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:layout_width="match_parent" |
| 19 | android:layout_height="wrap_content" |
Jeff Sharkey | db884f5 | 2013-09-21 15:11:19 -0700 | [diff] [blame] | 20 | android:orientation="vertical"> |
Jeff Sharkey | 09c10bf | 2013-06-30 20:02:59 -0700 | [diff] [blame] | 21 | |
Jeff Sharkey | db884f5 | 2013-09-21 15:11:19 -0700 | [diff] [blame] | 22 | <!-- Le sigh, this really should be an asset --> |
| 23 | <View |
| 24 | android:layout_width="match_parent" |
| 25 | android:layout_height="1dp" |
| 26 | android:background="#ccc" /> |
Jeff Sharkey | 09c10bf | 2013-06-30 20:02:59 -0700 | [diff] [blame] | 27 | |
Jeff Sharkey | db884f5 | 2013-09-21 15:11:19 -0700 | [diff] [blame] | 28 | <LinearLayout |
| 29 | android:layout_width="match_parent" |
Jeff Sharkey | 09c10bf | 2013-06-30 20:02:59 -0700 | [diff] [blame] | 30 | android:layout_height="wrap_content" |
Jeff Sharkey | db884f5 | 2013-09-21 15:11:19 -0700 | [diff] [blame] | 31 | android:orientation="horizontal" |
Jeff Sharkey | 9dd0262 | 2013-09-27 16:44:11 -0700 | [diff] [blame] | 32 | android:baselineAligned="false" |
Jeff Sharkey | db884f5 | 2013-09-21 15:11:19 -0700 | [diff] [blame] | 33 | android:gravity="center_vertical" |
| 34 | android:background="#ddd" |
| 35 | android:minHeight="?android:attr/listPreferredItemHeightSmall"> |
Jeff Sharkey | 09c10bf | 2013-06-30 20:02:59 -0700 | [diff] [blame] | 36 | |
Jeff Sharkey | db884f5 | 2013-09-21 15:11:19 -0700 | [diff] [blame] | 37 | <ImageView |
| 38 | android:id="@android:id/icon" |
| 39 | android:layout_width="24dp" |
| 40 | android:layout_height="24dp" |
| 41 | android:layout_marginStart="8dp" |
| 42 | android:layout_marginEnd="8dp" |
| 43 | android:scaleType="centerInside" |
| 44 | android:contentDescription="@null" /> |
| 45 | |
| 46 | <EditText |
| 47 | android:id="@android:id/title" |
Jeff Sharkey | 9dd0262 | 2013-09-27 16:44:11 -0700 | [diff] [blame] | 48 | android:layout_width="0dp" |
Jeff Sharkey | db884f5 | 2013-09-21 15:11:19 -0700 | [diff] [blame] | 49 | android:layout_height="wrap_content" |
| 50 | android:layout_weight="1" |
| 51 | android:singleLine="true" |
| 52 | android:selectAllOnFocus="true" /> |
| 53 | |
Jeff Sharkey | 4be51f1 | 2013-10-23 15:46:38 -0700 | [diff] [blame^] | 54 | <FrameLayout |
Jeff Sharkey | db884f5 | 2013-09-21 15:11:19 -0700 | [diff] [blame] | 55 | android:layout_width="wrap_content" |
Jeff Sharkey | 4be51f1 | 2013-10-23 15:46:38 -0700 | [diff] [blame^] | 56 | android:layout_height="match_parent"> |
| 57 | |
| 58 | <Button |
| 59 | android:id="@android:id/button1" |
| 60 | android:layout_width="wrap_content" |
| 61 | android:layout_height="match_parent" |
| 62 | android:background="?android:attr/selectableItemBackground" |
| 63 | android:text="@string/menu_save" |
| 64 | android:textAllCaps="true" |
| 65 | android:textAppearance="?android:attr/textAppearanceSmall" |
| 66 | android:padding="8dp" /> |
| 67 | |
| 68 | <ProgressBar |
| 69 | android:id="@android:id/progress" |
| 70 | android:layout_width="wrap_content" |
| 71 | android:layout_height="wrap_content" |
| 72 | android:layout_gravity="center" |
| 73 | android:visibility="gone" |
| 74 | android:indeterminate="true" |
| 75 | android:padding="8dp" |
| 76 | style="?android:attr/progressBarStyle" /> |
| 77 | |
| 78 | </FrameLayout> |
Jeff Sharkey | db884f5 | 2013-09-21 15:11:19 -0700 | [diff] [blame] | 79 | |
| 80 | </LinearLayout> |
Jeff Sharkey | 09c10bf | 2013-06-30 20:02:59 -0700 | [diff] [blame] | 81 | |
| 82 | </LinearLayout> |