xref: /aosp_15_r20/frameworks/base/packages/SystemUI/res/layout/people_tile_work_profile_quiet_layout.xml (revision d57664e9bc4670b3ecf6748a746a57c557b6bc9e)
1<!--
2  ~ Copyright (C) 2021 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<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
17    xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
18    android:id="@android:id/background"
19    android:theme="@android:style/Theme.DeviceDefault.DayNight"
20    android:background="@drawable/people_tile_suppressed_background"
21    android:clipToOutline="true"
22    android:layout_width="match_parent"
23    android:layout_height="match_parent">
24
25    <ImageView
26        android:id="@+id/icon"
27        android:gravity="center"
28        android:layout_gravity="center"
29        android:layout_width="48dp"
30        android:layout_height="48dp"/>
31
32    <ImageView android:id="@+id/work_widget_badge_icon"
33        android:layout_width="wrap_content"
34        android:layout_height="wrap_content"
35        android:layout_gravity="bottom|right"
36        android:layout_marginBottom="12dp"
37        android:layout_marginRight="12dp"
38        android:src="@drawable/ic_corp_badge_off"
39        android:clickable="false" />
40</FrameLayout>