1<?xml version="1.0" encoding="utf-8"?>
2<!--
3    Copyright 2014, 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
18<com.android.systemui.statusbar.NotificationGuts
19    xmlns:android="http://schemas.android.com/apk/res/android"
20    android:layout_width="match_parent"
21    android:layout_height="match_parent"
22    android:id="@+id/notification_guts"
23    android:visibility="gone"
24    android:clickable="true"
25    android:gravity="top|start"
26    >
27    <LinearLayout
28            android:layout_width="match_parent"
29            android:layout_height="@android:dimen/notification_large_icon_height"
30            android:orientation="horizontal"
31            >
32
33        <ImageView android:id="@android:id/icon"
34               android:layout_width="@android:dimen/notification_large_icon_width"
35               android:layout_height="@android:dimen/notification_large_icon_height"
36               android:layout_weight="0"
37               android:padding="8dp"
38               android:scaleType="centerInside"
39               />
40        <LinearLayout
41            android:layout_width="match_parent"
42            android:layout_height="wrap_content"
43            android:layout_gravity="start|center_vertical"
44            android:orientation="vertical"
45            android:paddingStart="8dp"
46            android:paddingEnd="8dp"
47            android:layout_weight="1"
48            >
49            <TextView
50                    android:id="@+id/pkgname"
51                    android:layout_width="match_parent"
52                    android:layout_height="wrap_content"
53                    android:layout_gravity="center_vertical|start"
54                    android:layout_weight="1"
55                    android:textAppearance="@*android:style/TextAppearance.Material.Notification.Title"
56                    android:textColor="@color/notification_guts_title_color"
57                    />
58            <DateTimeView
59                    android:id="@+id/timestamp"
60                    android:layout_width="wrap_content"
61                    android:layout_height="wrap_content"
62                    android:layout_weight="0"
63                    android:layout_gravity="center_vertical|start"
64                    android:textAppearance="@*android:style/TextAppearance.Material.Notification.Time"
65                    android:textColor="@color/notification_guts_text_color"
66                    />
67            <TextView
68                    android:layout_width="wrap_content"
69                    android:layout_height="wrap_content"
70                    android:id="@+id/debug_info"
71                    android:layout_weight="0"
72                    android:textAppearance="@*android:style/TextAppearance.Material.Notification.Time"
73                    android:layout_gravity="bottom|start"
74                    android:visibility="gone"
75                    android:textColor="@color/notification_guts_text_color"
76                    />
77        </LinearLayout>
78
79        <ImageButton style="@android:style/Widget.Material.Light.Button.Borderless.Small"
80                 android:id="@+id/notification_inspect_app_provided_settings"
81                 android:layout_width="52dp"
82                 android:layout_height="match_parent"
83                 android:layout_weight="0"
84                 android:gravity="center"
85                 android:src="@drawable/ic_settings"
86                 android:visibility="gone"
87                />
88
89        <ImageButton style="@android:style/Widget.Material.Light.Button.Borderless.Small"
90                android:id="@+id/notification_inspect_item"
91                android:layout_width="52dp"
92                android:layout_height="match_parent"
93                android:layout_weight="0"
94                android:gravity="center"
95                android:contentDescription="@string/status_bar_notification_inspect_item_title"
96                android:src="@drawable/ic_info"
97                />
98    </LinearLayout>
99</com.android.systemui.statusbar.NotificationGuts>
100