blob: 7aac62089d4f7886e34340a03a8a4e140c28915c [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 Sharkeye6fcceb2014-07-28 16:38:52 -070020 android:paddingStart="@dimen/list_item_padding"
21 android:orientation="horizontal"
22 android:baselineAligned="false"
23 android:gravity="center_vertical"
24 android:minHeight="?android:attr/listPreferredItemHeightSmall">
Jeff Sharkey09c10bf2013-06-30 20:02:59 -070025
Jeff Sharkeye6fcceb2014-07-28 16:38:52 -070026 <FrameLayout
27 android:layout_width="@dimen/icon_size"
28 android:layout_height="@dimen/icon_size"
29 android:layout_marginEnd="16dp">
Jeff Sharkey09c10bf2013-06-30 20:02:59 -070030
Jeff Sharkeydb884f52013-09-21 15:11:19 -070031 <ImageView
32 android:id="@android:id/icon"
Jeff Sharkeye6fcceb2014-07-28 16:38:52 -070033 android:layout_width="@dimen/root_icon_size"
34 android:layout_height="match_parent"
Jeff Sharkeydb884f52013-09-21 15:11:19 -070035 android:scaleType="centerInside"
36 android:contentDescription="@null" />
37
Jeff Sharkeye6fcceb2014-07-28 16:38:52 -070038 </FrameLayout>
Jeff Sharkeydb884f52013-09-21 15:11:19 -070039
Jeff Sharkeye6fcceb2014-07-28 16:38:52 -070040 <EditText
41 android:id="@android:id/title"
42 android:layout_width="0dp"
43 android:layout_height="wrap_content"
44 android:layout_weight="1"
45 android:singleLine="true"
46 android:selectAllOnFocus="true" />
47
48 <FrameLayout
49 android:layout_width="wrap_content"
50 android:layout_height="match_parent">
51
52 <Button
53 android:id="@android:id/button1"
Jeff Sharkeydb884f52013-09-21 15:11:19 -070054 android:layout_width="wrap_content"
Jeff Sharkeye6fcceb2014-07-28 16:38:52 -070055 android:layout_height="match_parent"
56 android:text="@string/menu_save"
57 style="?android:attr/buttonBarPositiveButtonStyle" />
Jeff Sharkey4be51f12013-10-23 15:46:38 -070058
Jeff Sharkeye6fcceb2014-07-28 16:38:52 -070059 <ProgressBar
60 android:id="@android:id/progress"
61 android:layout_width="wrap_content"
62 android:layout_height="wrap_content"
63 android:layout_gravity="center"
64 android:visibility="gone"
65 android:indeterminate="true"
66 android:padding="8dp"
67 style="?android:attr/progressBarStyle" />
Jeff Sharkey4be51f12013-10-23 15:46:38 -070068
Jeff Sharkeye6fcceb2014-07-28 16:38:52 -070069 </FrameLayout>
Jeff Sharkey09c10bf2013-06-30 20:02:59 -070070
71</LinearLayout>