blob: 3c748018187720e2076a514df941c64ef12ff0e3 [file] [log] [blame]
Anthony Chen54daefe2017-04-07 17:19:54 -07001<?xml version="1.0" encoding="utf-8"?>
2<!--
3** Copyright 2017, 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-->
Fabian Kozynskid074a542020-07-06 10:26:03 -040017<LinearLayout
Anthony Chen54daefe2017-04-07 17:19:54 -070018 xmlns:android="http://schemas.android.com/apk/res/android"
19 xmlns:systemui="http://schemas.android.com/apk/res-auto"
Evan Laird39254d42018-01-18 16:05:30 -050020 android:id="@+id/quick_status_bar_system_icons"
Anthony Chen54daefe2017-04-07 17:19:54 -070021 android:layout_width="match_parent"
Evan Laird19bf52c2018-01-24 19:54:58 -050022 android:layout_height="@*android:dimen/quick_qs_offset_height"
Anthony Chen54daefe2017-04-07 17:19:54 -070023 android:clipChildren="false"
24 android:clipToPadding="false"
25 android:gravity="center"
Amin Shaikh50d2d1e2018-04-25 14:48:13 -040026 android:orientation="horizontal"
Fabian Kozynski9a15b7c2019-01-10 11:13:27 -050027 android:clickable="true"
Evan Laird2174f552020-05-01 13:46:39 -040028 android:paddingTop="@dimen/status_bar_padding_top" >
Anthony Chen54daefe2017-04-07 17:19:54 -070029
Fabian Kozynskid074a542020-07-06 10:26:03 -040030 <LinearLayout
31 android:layout_width="0dp"
32 android:layout_height="match_parent"
33 android:layout_weight="1"
34 android:orientation="horizontal"
35 android:gravity="center_vertical|start" >
36
Anthony Chen54daefe2017-04-07 17:19:54 -070037 <com.android.systemui.statusbar.policy.Clock
38 android:id="@+id/clock"
Anthony Chen54daefe2017-04-07 17:19:54 -070039 android:layout_width="wrap_content"
40 android:layout_height="match_parent"
Amin Shaikh39bdc502018-05-15 23:43:34 -040041 android:minWidth="48dp"
Rohan Shahcc3d1d82018-03-30 21:24:17 +000042 android:gravity="center_vertical|start"
Evan Laird2cf56822017-12-18 11:22:39 -050043 android:paddingStart="@dimen/status_bar_left_clock_starting_padding"
44 android:paddingEnd="@dimen/status_bar_left_clock_end_padding"
Rohan Shahcc3d1d82018-03-30 21:24:17 +000045 android:singleLine="true"
46 android:textAppearance="@style/TextAppearance.StatusBar.Clock"
47 systemui:showDark="false" />
Fabian Kozynskid074a542020-07-06 10:26:03 -040048 </LinearLayout>
Evan Laird2cf56822017-12-18 11:22:39 -050049
Fabian Kozynskid074a542020-07-06 10:26:03 -040050 <android.widget.Space
51 android:id="@+id/space"
52 android:layout_width="0dp"
53 android:layout_height="match_parent"
54 android:layout_gravity="center_vertical|center_horizontal"
55 android:visibility="gone" />
56
57 <LinearLayout
58 android:layout_width="0dp"
59 android:layout_height="match_parent"
60 android:layout_weight="1"
61 android:orientation="horizontal"
62 android:gravity="center_vertical|end" >
63
64 <include layout="@layout/ongoing_privacy_chip" />
65
66 </LinearLayout>
67</LinearLayout>