blob: d601194b9e3e49e7a2abd2699fe5b51611381861 [file] [log] [blame]
Jeff Sharkey09c10bf2013-06-30 20:02:59 -07001<?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 Sharkeydb884f52013-09-21 15:11:19 -070020 android:orientation="vertical">
Jeff Sharkey09c10bf2013-06-30 20:02:59 -070021
Jeff Sharkeydb884f52013-09-21 15:11:19 -070022 <!-- 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 Sharkey09c10bf2013-06-30 20:02:59 -070027
Jeff Sharkeydb884f52013-09-21 15:11:19 -070028 <LinearLayout
29 android:layout_width="match_parent"
Jeff Sharkey09c10bf2013-06-30 20:02:59 -070030 android:layout_height="wrap_content"
Jeff Sharkeydb884f52013-09-21 15:11:19 -070031 android:orientation="horizontal"
Jeff Sharkey9dd02622013-09-27 16:44:11 -070032 android:baselineAligned="false"
Jeff Sharkeydb884f52013-09-21 15:11:19 -070033 android:gravity="center_vertical"
34 android:background="#ddd"
35 android:minHeight="?android:attr/listPreferredItemHeightSmall">
Jeff Sharkey09c10bf2013-06-30 20:02:59 -070036
Jeff Sharkeydb884f52013-09-21 15:11:19 -070037 <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 Sharkey9dd02622013-09-27 16:44:11 -070048 android:layout_width="0dp"
Jeff Sharkeydb884f52013-09-21 15:11:19 -070049 android:layout_height="wrap_content"
50 android:layout_weight="1"
51 android:singleLine="true"
52 android:selectAllOnFocus="true" />
53
Jeff Sharkey4be51f12013-10-23 15:46:38 -070054 <FrameLayout
Jeff Sharkeydb884f52013-09-21 15:11:19 -070055 android:layout_width="wrap_content"
Jeff Sharkey4be51f12013-10-23 15:46:38 -070056 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 Sharkeydb884f52013-09-21 15:11:19 -070079
80 </LinearLayout>
Jeff Sharkey09c10bf2013-06-30 20:02:59 -070081
82</LinearLayout>