Anthony Chen | 54daefe | 2017-04-07 17:19:54 -0700 | [diff] [blame] | 1 | <?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 | --> |
| 17 | <LinearLayout |
| 18 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 19 | xmlns:systemui="http://schemas.android.com/apk/res-auto" |
Evan Laird | 39254d4 | 2018-01-18 16:05:30 -0500 | [diff] [blame] | 20 | android:id="@+id/quick_status_bar_system_icons" |
Anthony Chen | 54daefe | 2017-04-07 17:19:54 -0700 | [diff] [blame] | 21 | android:layout_width="match_parent" |
Evan Laird | 19bf52c | 2018-01-24 19:54:58 -0500 | [diff] [blame] | 22 | android:layout_height="@*android:dimen/quick_qs_offset_height" |
Anthony Chen | 54daefe | 2017-04-07 17:19:54 -0700 | [diff] [blame] | 23 | android:clipChildren="false" |
| 24 | android:clipToPadding="false" |
| 25 | android:gravity="center" |
Amin Shaikh | 50d2d1e | 2018-04-25 14:48:13 -0400 | [diff] [blame] | 26 | android:orientation="horizontal" |
Fabian Kozynski | 9a15b7c | 2019-01-10 11:13:27 -0500 | [diff] [blame] | 27 | android:clickable="true" |
Amin Shaikh | 9cac338 | 2018-04-11 17:10:07 -0400 | [diff] [blame] | 28 | android:paddingStart="@dimen/status_bar_padding_start" |
Amin Shaikh | 50d2d1e | 2018-04-25 14:48:13 -0400 | [diff] [blame] | 29 | android:paddingEnd="@dimen/status_bar_padding_end" > |
Anthony Chen | 54daefe | 2017-04-07 17:19:54 -0700 | [diff] [blame] | 30 | |
Fabian Kozynski | 8d06c71 | 2018-11-07 10:33:02 -0500 | [diff] [blame] | 31 | <LinearLayout |
| 32 | android:layout_width="0dp" |
| 33 | android:layout_height="match_parent" |
| 34 | android:layout_weight="1" |
| 35 | android:orientation="horizontal" |
| 36 | android:gravity="center_vertical|start" > |
| 37 | |
Anthony Chen | 54daefe | 2017-04-07 17:19:54 -0700 | [diff] [blame] | 38 | <com.android.systemui.statusbar.policy.Clock |
| 39 | android:id="@+id/clock" |
Anthony Chen | 54daefe | 2017-04-07 17:19:54 -0700 | [diff] [blame] | 40 | android:layout_width="wrap_content" |
| 41 | android:layout_height="match_parent" |
Amin Shaikh | 39bdc50 | 2018-05-15 23:43:34 -0400 | [diff] [blame] | 42 | android:minWidth="48dp" |
Rohan Shah | cc3d1d8 | 2018-03-30 21:24:17 +0000 | [diff] [blame] | 43 | android:gravity="center_vertical|start" |
Evan Laird | 2cf5682 | 2017-12-18 11:22:39 -0500 | [diff] [blame] | 44 | android:paddingStart="@dimen/status_bar_left_clock_starting_padding" |
| 45 | android:paddingEnd="@dimen/status_bar_left_clock_end_padding" |
Rohan Shah | cc3d1d8 | 2018-03-30 21:24:17 +0000 | [diff] [blame] | 46 | android:singleLine="true" |
| 47 | android:textAppearance="@style/TextAppearance.StatusBar.Clock" |
| 48 | systemui:showDark="false" /> |
Fabian Kozynski | 8d06c71 | 2018-11-07 10:33:02 -0500 | [diff] [blame] | 49 | </LinearLayout> |
Evan Laird | 2cf5682 | 2017-12-18 11:22:39 -0500 | [diff] [blame] | 50 | |
| 51 | <android.widget.Space |
| 52 | android:id="@+id/space" |
| 53 | android:layout_width="0dp" |
| 54 | android:layout_height="match_parent" |
Fabian Kozynski | 8d06c71 | 2018-11-07 10:33:02 -0500 | [diff] [blame] | 55 | android:layout_gravity="center_vertical|center_horizontal" |
| 56 | android:visibility="gone" /> |
| 57 | |
| 58 | <LinearLayout |
| 59 | android:layout_width="0dp" |
| 60 | android:layout_height="match_parent" |
Evan Laird | 2cf5682 | 2017-12-18 11:22:39 -0500 | [diff] [blame] | 61 | android:layout_weight="1" |
Fabian Kozynski | 8d06c71 | 2018-11-07 10:33:02 -0500 | [diff] [blame] | 62 | android:orientation="horizontal" |
Fabian Kozynski | ef12449 | 2018-11-02 11:02:11 -0400 | [diff] [blame] | 63 | android:gravity="center_vertical|end" > |
Evan Laird | 2cf5682 | 2017-12-18 11:22:39 -0500 | [diff] [blame] | 64 | |
Fabian Kozynski | 1263824 | 2018-10-12 15:33:41 -0400 | [diff] [blame] | 65 | <include layout="@layout/ongoing_privacy_chip" /> |
| 66 | |
Fabian Kozynski | 8d06c71 | 2018-11-07 10:33:02 -0500 | [diff] [blame] | 67 | </LinearLayout> |
Anthony Chen | 54daefe | 2017-04-07 17:19:54 -0700 | [diff] [blame] | 68 | </LinearLayout> |