• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2024 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<LinearLayout
18    xmlns:android="http://schemas.android.com/apk/res/android"
19    xmlns:systemui="http://schemas.android.com/apk/res-auto"
20    android:layout_width="wrap_content"
21    android:layout_height="match_parent"
22    android:orientation="vertical">
23    <com.android.systemui.car.systembar.CarSystemBarPanelButtonView
24        android:id="@+id/bluetooth_panel_button"
25        android:layout_height="@dimen/car_quick_controls_entry_points_button_width"
26        android:layout_width="match_parent"
27        android:orientation="vertical"
28        android:gravity="center"
29        android:layout_alignParentStart="true"
30        style="@style/TopBarButton"
31        systemui:panelLayoutRes="@layout/qc_bluetooth_panel"
32        systemui:disabledWhileUnprovisioned="true"
33        systemui:systemBarDisable2Flags="quickSettings">
34        <com.android.systemui.car.statusicon.StatusIconView
35            android:id="@+id/bluetooth_status_icon"
36            android:layout_width="@dimen/car_quick_controls_icon_drawable_width"
37            android:layout_height="@dimen/car_quick_controls_icon_drawable_height"
38            android:layout_gravity="center"
39            android:tint="@color/car_status_icon_color"
40            android:duplicateParentState="true"
41            systemui:controller="com.android.systemui.car.statusicon.ui.BluetoothStatusIconController"/>
42    </com.android.systemui.car.systembar.CarSystemBarPanelButtonView>
43    <com.android.systemui.car.systembar.CarSystemBarPanelButtonView
44        android:id="@+id/connectivity_panel_button"
45        android:layout_height="@dimen/car_quick_controls_entry_points_button_width"
46        android:layout_width="match_parent"
47        android:orientation="vertical"
48        android:gravity="center"
49        android:layout_alignParentStart="true"
50        style="@style/TopBarButton"
51        systemui:panelLayoutRes="@layout/qc_connectivity_panel"
52        systemui:disabledWhileUnprovisioned="true"
53        systemui:systemBarDisable2Flags="quickSettings">
54        <FrameLayout
55            android:layout_width="match_parent"
56            android:layout_height="match_parent">
57            <com.android.systemui.car.statusicon.StatusIconView
58                android:id="@+id/connectivity_status_icon"
59                android:layout_width="@dimen/car_quick_controls_icon_drawable_width"
60                android:layout_height="@dimen/car_quick_controls_icon_drawable_height"
61                android:layout_gravity="center"
62                android:tint="@color/car_status_icon_color"
63                android:duplicateParentState="true"
64                systemui:controller="com.android.systemui.car.statusicon.ui.SignalStatusIconController"/>
65            <com.android.systemui.car.systembar.element.layout.CarSystemBarImageView
66                android:id="@+id/qc_icon_button_unseen_icon"
67                android:layout_height="wrap_content"
68                android:layout_width="match_parent"
69                android:layout_gravity="center"
70                android:src="@drawable/car_qc_icon_button_unseen_indicator"
71                android:scaleType="fitCenter"
72                android:clickable="false"
73                android:visibility="gone"
74                systemui:controller="com.android.systemui.car.systembar.DataSubscriptionUnseenIconController"/>
75        </FrameLayout>
76    </com.android.systemui.car.systembar.CarSystemBarPanelButtonView>
77    <com.android.systemui.car.systembar.CarSystemBarPanelButtonView
78        android:id="@+id/display_panel_button"
79        android:layout_height="@dimen/car_quick_controls_entry_points_button_width"
80        android:layout_width="match_parent"
81        android:orientation="vertical"
82        android:gravity="center"
83        android:layout_alignParentStart="true"
84        style="@style/TopBarButton"
85        systemui:panelLayoutRes="@layout/qc_display_panel"
86        systemui:disabledWhileUnprovisioned="true"
87        systemui:systemBarDisable2Flags="quickSettings">
88        <ImageView
89            android:id="@+id/display_status_icon"
90            android:layout_width="@dimen/car_quick_controls_icon_drawable_width"
91            android:layout_height="@dimen/car_quick_controls_icon_drawable_height"
92            android:layout_gravity="center"
93            android:tint="@color/car_status_icon_color"
94            android:duplicateParentState="true"
95            android:src="@drawable/car_ic_brightness"
96            android:contentDescription="@string/status_icon_display_status"/>
97    </com.android.systemui.car.systembar.CarSystemBarPanelButtonView>
98    <com.android.systemui.car.systembar.CarSystemBarPanelButtonView
99        android:id="@+id/volume_panel"
100        android:layout_height="@dimen/car_quick_controls_entry_points_button_width"
101        android:layout_width="match_parent"
102        android:orientation="vertical"
103        android:gravity="center"
104        android:layout_alignParentStart="true"
105        style="@style/TopBarButton"
106        systemui:panelLayoutRes="@layout/qc_volume_panel"
107        systemui:disabledWhileUnprovisioned="true"
108        systemui:systemBarDisable2Flags="quickSettings">
109        <com.android.systemui.car.statusicon.StatusIconView
110            android:id="@+id/volume_status_icon"
111            android:layout_width="@dimen/car_quick_controls_icon_drawable_width"
112            android:layout_height="@dimen/car_quick_controls_icon_drawable_height"
113            android:layout_gravity="center"
114            android:tint="@color/car_status_icon_color"
115            android:duplicateParentState="true"
116            systemui:controller="com.android.systemui.car.statusicon.ui.MediaVolumeStatusIconController"/>
117    </com.android.systemui.car.systembar.CarSystemBarPanelButtonView>
118    <com.android.systemui.car.systembar.CarSystemBarPanelButtonView
119        android:id="@+id/debug_panel"
120        android:layout_height="@dimen/car_quick_controls_entry_points_button_width"
121        android:layout_width="match_parent"
122        android:orientation="vertical"
123        android:gravity="center"
124        android:layout_alignParentStart="true"
125        style="@style/TopBarButton"
126        systemui:controller="com.android.systemui.car.systembar.DebugPanelButtonViewController"
127        systemui:panelLayoutRes="@layout/qc_debug_panel"
128        systemui:disabledWhileUnprovisioned="true"
129        systemui:systemBarDisable2Flags="quickSettings">
130        <ImageView
131            android:id="@+id/debug_status_icon"
132            android:layout_width="@dimen/car_quick_controls_icon_drawable_width"
133            android:layout_height="@dimen/car_quick_controls_icon_drawable_height"
134            android:layout_gravity="center"
135            android:tint="@color/car_status_icon_color"
136            android:duplicateParentState="true"
137            android:src="@drawable/car_ic_debug"
138            android:contentDescription="@string/status_icon_debug_status"/>
139    </com.android.systemui.car.systembar.CarSystemBarPanelButtonView>
140</LinearLayout>
141