blob: ec004296ff9da69b730a1416162f18061e879d82 [file] [log] [blame]
Steve Elliott58adc212019-10-15 11:07:54 -04001<?xml version="1.0" encoding="utf-8"?>
2<!--
3 ~ Copyright (C) 2019 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.notification.stack.PeopleHubView
19 xmlns:android="http://schemas.android.com/apk/res/android"
20 android:layout_width="match_parent"
Steve Elliottd991c042019-12-19 12:40:29 -050021 android:layout_height="@dimen/notification_section_header_height"
Steve Elliottb0940382020-02-20 14:24:02 -050022 android:paddingStart="4dp"
23 android:paddingEnd="4dp"
Steve Elliottd991c042019-12-19 12:40:29 -050024 android:focusable="true"
25 android:clickable="true"
26>
Steve Elliott58adc212019-10-15 11:07:54 -040027
Steve Elliott58adc212019-10-15 11:07:54 -040028 <LinearLayout
29 android:id="@+id/people_list"
30 android:layout_width="match_parent"
Steve Elliott984cfec2019-10-21 15:28:05 -040031 android:layout_height="match_parent"
Steve Elliottb0940382020-02-20 14:24:02 -050032 android:layout_marginEnd="8dp"
33 android:gravity="bottom"
Selim Cinek6df13852020-02-25 12:39:00 -080034 android:orientation="horizontal"
35 android:forceHasOverlappingRendering="false"
36 android:clipChildren="false">
Steve Elliott58adc212019-10-15 11:07:54 -040037
Steve Elliottb0940382020-02-20 14:24:02 -050038 <FrameLayout
Steve Elliottd991c042019-12-19 12:40:29 -050039 android:layout_width="wrap_content"
40 android:layout_height="wrap_content"
Steve Elliottb0940382020-02-20 14:24:02 -050041 android:gravity="start|center_vertical"
Selim Cinek6df13852020-02-25 12:39:00 -080042 android:layout_weight="1"
43 android:forceHasOverlappingRendering="false">
Steve Elliottb0940382020-02-20 14:24:02 -050044
45 <TextView
Steve Elliott577ef792020-04-02 13:49:36 -040046 android:id="@+id/header_label"
Steve Elliottb0940382020-02-20 14:24:02 -050047 style="@style/TextAppearance.NotificationSectionHeaderButton"
48 android:layout_width="wrap_content"
49 android:layout_height="wrap_content"
50 android:text="@string/notification_section_header_conversations"
51 />
52
53 </FrameLayout>
Steve Elliott58adc212019-10-15 11:07:54 -040054
Steve Elliottd991c042019-12-19 12:40:29 -050055 <ImageView
56 android:layout_width="48dp"
57 android:layout_height="48dp"
58 android:padding="8dp"
59 android:scaleType="fitCenter"
Selim Cinek6df13852020-02-25 12:39:00 -080060 android:forceHasOverlappingRendering="false"
Steve Elliottc4064002020-03-31 11:54:26 -040061 android:visibility="gone"
Steve Elliott58adc212019-10-15 11:07:54 -040062 />
63
Steve Elliottd991c042019-12-19 12:40:29 -050064 <ImageView
65 android:layout_width="48dp"
66 android:layout_height="48dp"
67 android:padding="8dp"
68 android:scaleType="fitCenter"
Selim Cinek6df13852020-02-25 12:39:00 -080069 android:forceHasOverlappingRendering="false"
Steve Elliottc4064002020-03-31 11:54:26 -040070 android:visibility="gone"
Steve Elliott58adc212019-10-15 11:07:54 -040071 />
72
Steve Elliottd991c042019-12-19 12:40:29 -050073 <ImageView
74 android:layout_width="48dp"
75 android:layout_height="48dp"
76 android:padding="8dp"
77 android:scaleType="fitCenter"
Selim Cinek6df13852020-02-25 12:39:00 -080078 android:forceHasOverlappingRendering="false"
Steve Elliottc4064002020-03-31 11:54:26 -040079 android:visibility="gone"
Steve Elliott58adc212019-10-15 11:07:54 -040080 />
81
Steve Elliottd991c042019-12-19 12:40:29 -050082 <ImageView
83 android:layout_width="48dp"
84 android:layout_height="48dp"
85 android:padding="8dp"
86 android:scaleType="fitCenter"
Selim Cinek6df13852020-02-25 12:39:00 -080087 android:forceHasOverlappingRendering="false"
Steve Elliottc4064002020-03-31 11:54:26 -040088 android:visibility="gone"
Steve Elliott58adc212019-10-15 11:07:54 -040089 />
90
Steve Elliottd991c042019-12-19 12:40:29 -050091 <ImageView
92 android:layout_width="48dp"
93 android:layout_height="48dp"
Steve Elliottd991c042019-12-19 12:40:29 -050094 android:padding="8dp"
95 android:scaleType="fitCenter"
Selim Cinek6df13852020-02-25 12:39:00 -080096 android:forceHasOverlappingRendering="false"
Steve Elliottc4064002020-03-31 11:54:26 -040097 android:visibility="gone"
Steve Elliott58adc212019-10-15 11:07:54 -040098 />
99
100 </LinearLayout>
101
Steve Elliottd991c042019-12-19 12:40:29 -0500102</com.android.systemui.statusbar.notification.stack.PeopleHubView>