• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!--
2  ~ Copyright (C) 2022 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
17<!--
18  ~ Copyright (C) 2022 The Android Open Source Project
19  ~
20  ~ Licensed under the Apache License, Version 2.0 (the "License");
21  ~ you may not use this file except in compliance with the License.
22  ~ You may obtain a copy of the License at
23  ~
24  ~      http://www.apache.org/licenses/LICENSE-2.0
25  ~
26  ~ Unless required by applicable law or agreed to in writing, software
27  ~ distributed under the License is distributed on an "AS IS" BASIS,
28  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
29  ~ See the License for the specific language governing permissions and
30  ~ limitations under the License.
31  -->
32<FrameLayout
33    xmlns:android="http://schemas.android.com/apk/res/android"
34    xmlns:app="http://schemas.android.com/apk/res-auto"
35    android:layout_width="match_parent"
36    android:layout_height="wrap_content"
37    android:background="@color/status_icon_panel_bg_color">
38    <com.android.car.ui.FocusParkingView
39        android:layout_width="wrap_content"
40        android:layout_height="wrap_content"/>
41    <com.android.car.ui.FocusArea
42        android:layout_width="match_parent"
43        android:layout_height="wrap_content"
44        android:gravity="center"
45        android:orientation="vertical">
46        <androidx.constraintlayout.widget.ConstraintLayout
47            android:layout_width="match_parent"
48            android:layout_height="wrap_content">
49            <ScrollView
50                android:layout_width="match_parent"
51                android:layout_height="0dp"
52                app:layout_constraintHeight_default="wrap"
53                app:layout_constraintTop_toTopOf="parent"
54                app:layout_constraintStart_toStartOf="parent"
55                app:layout_constraintEnd_toEndOf="parent"
56                app:layout_constraintBottom_toBottomOf="parent">
57                <com.android.systemui.car.qc.SystemUIQCView
58                    android:id="@+id/drive_mode_panel"
59                    android:layout_width="match_parent"
60                    android:layout_height="wrap_content"
61                    android:gravity="center"
62                    app:localQCProvider="com.android.systemui.car.qc.DriveModeQcPanel"/>
63            </ScrollView>
64        </androidx.constraintlayout.widget.ConstraintLayout>
65    </com.android.car.ui.FocusArea>
66</FrameLayout>