1<!-- 2 ~ Copyright (C) 2024 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:layout_width="match_parent" 20 android:layout_height="wrap_content" 21 android:layoutDirection="locale" 22 android:background="@color/status_icon_panel_bg_color"> 23 <com.android.car.ui.FocusParkingView 24 android:layout_width="wrap_content" 25 android:layout_height="wrap_content"/> 26 <com.android.car.ui.FocusArea 27 android:layout_width="match_parent" 28 android:layout_height="wrap_content" 29 android:gravity="center" 30 android:orientation="vertical"> 31 <androidx.constraintlayout.widget.ConstraintLayout 32 android:layout_width="match_parent" 33 android:layout_height="wrap_content"> 34 <ScrollView 35 android:id="@+id/debug_panel_scroll_view" 36 android:layout_width="match_parent" 37 android:layout_height="0dp" 38 android:layout_marginBottom="@dimen/car_quick_controls_footer_button_margin_top" 39 app:layout_constraintHeight_default="wrap" 40 app:layout_constraintTop_toTopOf="parent" 41 app:layout_constraintStart_toStartOf="parent" 42 app:layout_constraintEnd_toEndOf="parent" 43 app:layout_constraintBottom_toTopOf="@+id/qc_debug_footer_button"> 44 <LinearLayout 45 android:layout_width="match_parent" 46 android:layout_height="wrap_content" 47 android:orientation="vertical"> 48 <com.android.systemui.car.qc.SystemUIQCView 49 android:layout_width="match_parent" 50 android:layout_height="wrap_content" 51 android:gravity="center" 52 app:remoteQCProvider="content://com.android.car.settings.qc/debug_driving_mode_toggle"/> 53 <com.android.systemui.car.qc.SystemUIQCView 54 android:layout_width="match_parent" 55 android:layout_height="wrap_content" 56 android:gravity="center" 57 app:remoteQCProvider="content://com.android.car.settings.qc/debug_layout_bounds_toggle"/> 58 <com.android.systemui.car.qc.SystemUIQCView 59 android:layout_width="match_parent" 60 android:layout_height="wrap_content" 61 android:gravity="center" 62 app:remoteQCProvider="content://com.android.car.settings.qc/debug_force_rtl_toggle"/> 63 <com.android.systemui.car.qc.SystemUIQCView 64 android:layout_width="match_parent" 65 android:layout_height="wrap_content" 66 android:gravity="center" 67 app:remoteQCProvider="content://com.android.car.settings.qc/debug_customization_overlay_toggle"/> 68 </LinearLayout> 69 </ScrollView> 70 <com.android.systemui.car.qc.QCFooterButton 71 android:id="@+id/qc_debug_footer_button" 72 app:layout_constraintTop_toBottomOf="@id/debug_panel_scroll_view" 73 app:layout_constraintBottom_toBottomOf="parent" 74 app:layout_constraintStart_toStartOf="parent" 75 app:layout_constraintEnd_toEndOf="parent" 76 style="@style/QCFooterButtonStyle" 77 android:text="@string/qc_footer_debug_settings" 78 app:intent="intent:#Intent;action=android.settings.APPLICATION_DEVELOPMENT_SETTINGS;launchFlags=0x14000000;end"/> 79 </androidx.constraintlayout.widget.ConstraintLayout> 80 </com.android.car.ui.FocusArea> 81</FrameLayout> 82