blob: 7707daec6ac8ec301b3a2ea5e76f9630ad131b30 [file] [log] [blame]
Jason Monkd48e76e2017-11-29 10:02:43 -05001<?xml version="1.0" encoding="utf-8"?>
2<!--
3 ~ Copyright 2017 The Android Open Source Project
4 ~
5 ~ Licensed under the Apache License, Version 2.0 (the "License");
6 ~ you may not use this file except in compliance with the License.
7 ~ You may obtain a copy of the License at
8 ~
9 ~ http://www.apache.org/licenses/LICENSE-2.0
10 ~
11 ~ Unless required by applicable law or agreed to in writing, software
12 ~ distributed under the License is distributed on an "AS IS" BASIS,
13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 ~ See the License for the specific language governing permissions and
15 ~ limitations under the License.
16 -->
17<LinearLayout
18 xmlns:android="http://schemas.android.com/apk/res/android"
19 android:layout_width="match_parent"
20 android:layout_height="wrap_content"
Mady Mellor5b2c0ce2017-12-08 12:16:37 -080021 android:minHeight="@dimen/abc_slice_row_min_height"
22 android:maxHeight="@dimen/abc_slice_row_max_height"
Jason Monkd48e76e2017-11-29 10:02:43 -050023 android:gravity="center_vertical"
Jason Monkd48e76e2017-11-29 10:02:43 -050024 android:background="?android:attr/activatedBackgroundIndicator"
25 android:clipToPadding="false">
26
27 <LinearLayout
28 android:id="@+id/icon_frame"
29 android:layout_width="wrap_content"
30 android:layout_height="wrap_content"
Jason Monkd48e76e2017-11-29 10:02:43 -050031 android:gravity="start|center_vertical"
32 android:orientation="horizontal"
33 android:paddingEnd="12dp"
34 android:paddingTop="4dp"
35 android:paddingBottom="4dp"/>
36
37 <LinearLayout
38 android:id="@android:id/content"
39 android:layout_width="wrap_content"
40 android:layout_height="wrap_content"
41 android:layout_weight="1"
42 android:gravity="center_vertical"
43 android:orientation="vertical">
44
45 <TextView android:id="@android:id/title"
46 android:layout_width="wrap_content"
47 android:layout_height="wrap_content"
48 android:maxLines="2"
49 android:textAppearance="?android:attr/textAppearanceListItem" />
50
51 <TextView android:id="@android:id/summary"
52 android:layout_width="wrap_content"
53 android:layout_height="wrap_content"
54 android:layout_alignStart="@android:id/title"
55 android:textAppearance="?android:attr/textAppearanceListItemSecondary"
56 android:textColor="?android:attr/textColorSecondary"
57 android:maxLines="10" />
58
Amin Shaikhf2cdc3a2018-01-17 09:35:23 -050059 <SeekBar
60 android:id="@+id/seek_bar"
61 android:layout_width="match_parent"
62 android:layout_height="wrap_content"
63 android:visibility="gone" />
64
65 <ProgressBar
66 android:id="@+id/progress_bar"
67 style="?android:attr/progressBarStyleHorizontal"
68 android:layout_width="match_parent"
69 android:layout_height="wrap_content"
70 android:visibility="gone" />
71
Jason Monkd48e76e2017-11-29 10:02:43 -050072 </LinearLayout>
73
74 <View
75 android:id="@+id/divider"
76 android:layout_width="1dp"
77 android:layout_height="match_parent"
78 android:layout_marginTop="8dp"
79 android:layout_marginBottom="8dp"
80 android:background="?android:attr/listDivider"
81 android:visibility="gone"/>
82
83 <LinearLayout android:id="@android:id/widget_frame"
84 android:layout_width="wrap_content"
85 android:layout_height="wrap_content"
86 android:gravity="end|center_vertical"
87 android:orientation="horizontal" />
88
89</LinearLayout>