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 17 xmlns:android="http://schemas.android.com/apk/res/android" 18 xmlns:app="http://schemas.android.com/apk/res-auto" 19 android:id="@+id/mic_privacy_panel" 20 android:layout_width="match_parent" 21 android:layout_height="wrap_content" 22 android:background="@color/status_icon_panel_bg_color"> 23 <com.android.car.ui.FocusArea 24 android:layout_width="match_parent" 25 android:layout_height="wrap_content" 26 android:gravity="center" 27 android:orientation="vertical"> 28 <com.android.systemui.car.qc.SystemUIQCView 29 android:layout_width="match_parent" 30 android:layout_height="wrap_content" 31 android:gravity="center" 32 app:localQCProvider="com.android.systemui.car.privacy.MicQcPanel"/> 33 <com.android.systemui.car.qc.QCFooterButton 34 android:layout_width="wrap_content" 35 android:layout_height="wrap_content" 36 android:layout_gravity="start" 37 style="@style/QCFooterButtonStyle" 38 android:text="@string/mic_privacy_chip_microphone_settings" 39 app:intent="intent:#Intent;component=com.android.car.settings/.common.CarSettingActivities$PrivacySettingsActivity;launchFlags=0x08080000;end" 40 app:disableWhileDriving="true"/> 41 </com.android.car.ui.FocusArea> 42</FrameLayout> 43