1<?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" 21 android:layout_height="@dimen/notification_section_header_height" 22 android:paddingStart="4dp" 23 android:paddingEnd="4dp" 24 android:focusable="true" 25 android:clickable="true" 26> 27 28 <LinearLayout 29 android:id="@+id/people_list" 30 android:layout_width="match_parent" 31 android:layout_height="match_parent" 32 android:layout_marginEnd="8dp" 33 android:gravity="bottom" 34 android:orientation="horizontal" 35 android:forceHasOverlappingRendering="false" 36 android:clipChildren="false"> 37 38 <FrameLayout 39 android:layout_width="wrap_content" 40 android:layout_height="wrap_content" 41 android:gravity="start|center_vertical" 42 android:layout_weight="1" 43 android:forceHasOverlappingRendering="false"> 44 45 <TextView 46 android:id="@+id/header_label" 47 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> 54 55 <ImageView 56 android:layout_width="48dp" 57 android:layout_height="48dp" 58 android:padding="8dp" 59 android:scaleType="fitCenter" 60 android:forceHasOverlappingRendering="false" 61 android:visibility="gone" 62 /> 63 64 <ImageView 65 android:layout_width="48dp" 66 android:layout_height="48dp" 67 android:padding="8dp" 68 android:scaleType="fitCenter" 69 android:forceHasOverlappingRendering="false" 70 android:visibility="gone" 71 /> 72 73 <ImageView 74 android:layout_width="48dp" 75 android:layout_height="48dp" 76 android:padding="8dp" 77 android:scaleType="fitCenter" 78 android:forceHasOverlappingRendering="false" 79 android:visibility="gone" 80 /> 81 82 <ImageView 83 android:layout_width="48dp" 84 android:layout_height="48dp" 85 android:padding="8dp" 86 android:scaleType="fitCenter" 87 android:forceHasOverlappingRendering="false" 88 android:visibility="gone" 89 /> 90 91 <ImageView 92 android:layout_width="48dp" 93 android:layout_height="48dp" 94 android:padding="8dp" 95 android:scaleType="fitCenter" 96 android:forceHasOverlappingRendering="false" 97 android:visibility="gone" 98 /> 99 100 </LinearLayout> 101 102</com.android.systemui.statusbar.notification.stack.PeopleHubView> 103