The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 3 | ** |
| 4 | ** Copyright 2006, The Android Open Source Project |
| 5 | ** |
Selim Cinek | aa9db1f | 2018-02-27 17:35:47 -0800 | [diff] [blame] | 6 | ** Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | ** you may not use this file except in compliance with the License. |
| 8 | ** You may obtain a copy of the License at |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 9 | ** |
Selim Cinek | aa9db1f | 2018-02-27 17:35:47 -0800 | [diff] [blame] | 10 | ** http://www.apache.org/licenses/LICENSE-2.0 |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 11 | ** |
Selim Cinek | aa9db1f | 2018-02-27 17:35:47 -0800 | [diff] [blame] | 12 | ** Unless required by applicable law or agreed to in writing, software |
| 13 | ** distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | ** See the License for the specific language governing permissions and |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 16 | ** limitations under the License. |
| 17 | */ |
| 18 | --> |
| 19 | |
| 20 | <!-- android:background="@drawable/status_bar_closed_default_background" --> |
Joe Onorato | fd52b18 | 2010-11-10 18:00:52 -0800 | [diff] [blame] | 21 | <com.android.systemui.statusbar.phone.PhoneStatusBarView |
Joe Onorato | 5ee67eb | 2010-05-25 19:42:38 -0400 | [diff] [blame] | 22 | xmlns:android="http://schemas.android.com/apk/res/android" |
Joe Onorato | 52c1dc2 | 2010-07-01 16:39:39 -0400 | [diff] [blame] | 23 | xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui" |
Jason Monk | aa573e9 | 2017-01-27 17:00:29 -0500 | [diff] [blame] | 24 | android:layout_width="match_parent" |
| 25 | android:layout_height="@dimen/status_bar_height" |
Daniel Sandler | a310af8 | 2012-04-24 01:20:13 -0400 | [diff] [blame] | 26 | android:id="@+id/status_bar" |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 27 | android:orientation="vertical" |
Julia Reynolds | 6819b9a | 2015-07-16 12:18:43 -0400 | [diff] [blame] | 28 | android:focusable="false" |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 29 | android:descendantFocusability="afterDescendants" |
Phil Weaver | 06c9e01 | 2018-04-17 17:53:29 -0700 | [diff] [blame] | 30 | android:accessibilityPaneTitle="@string/status_bar" |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 31 | > |
| 32 | |
Daniel Sandler | d7e9686 | 2012-04-26 01:10:29 -0400 | [diff] [blame] | 33 | <ImageView |
| 34 | android:id="@+id/notification_lights_out" |
| 35 | android:layout_width="@dimen/status_bar_icon_size" |
| 36 | android:layout_height="match_parent" |
Selim Cinek | aa9db1f | 2018-02-27 17:35:47 -0800 | [diff] [blame] | 37 | android:paddingStart="@dimen/status_bar_padding_start" |
Daniel Sandler | 173bae2 | 2012-09-25 14:37:42 -0400 | [diff] [blame] | 38 | android:paddingBottom="2dip" |
Daniel Sandler | d7e9686 | 2012-04-26 01:10:29 -0400 | [diff] [blame] | 39 | android:src="@drawable/ic_sysbar_lights_out_dot_small" |
| 40 | android:scaleType="center" |
| 41 | android:visibility="gone" |
| 42 | /> |
| 43 | |
Daniel Sandler | 173bae2 | 2012-09-25 14:37:42 -0400 | [diff] [blame] | 44 | <LinearLayout android:id="@+id/status_bar_contents" |
Romain Guy | 980a938 | 2010-01-08 15:06:28 -0800 | [diff] [blame] | 45 | android:layout_width="match_parent" |
| 46 | android:layout_height="match_parent" |
Selim Cinek | aa9db1f | 2018-02-27 17:35:47 -0800 | [diff] [blame] | 47 | android:paddingStart="@dimen/status_bar_padding_start" |
Amin Shaikh | 9cac338 | 2018-04-11 17:10:07 -0400 | [diff] [blame] | 48 | android:paddingEnd="@dimen/status_bar_padding_end" |
Evan Laird | cc1f3b6 | 2019-04-10 11:19:28 -0400 | [diff] [blame] | 49 | android:paddingTop="@dimen/status_bar_padding_top" |
Daniel Sandler | 05e2414 | 2011-11-10 11:56:49 -0500 | [diff] [blame] | 50 | android:orientation="horizontal" |
| 51 | > |
Selim Cinek | aa9db1f | 2018-02-27 17:35:47 -0800 | [diff] [blame] | 52 | <FrameLayout |
Evan Laird | 2cf5682 | 2017-12-18 11:22:39 -0500 | [diff] [blame] | 53 | android:layout_height="match_parent" |
Evan Laird | 058c8ae | 2018-01-12 14:26:10 -0500 | [diff] [blame] | 54 | android:layout_width="0dp" |
Selim Cinek | aa9db1f | 2018-02-27 17:35:47 -0800 | [diff] [blame] | 55 | android:layout_weight="1"> |
Evan Laird | 058c8ae | 2018-01-12 14:26:10 -0500 | [diff] [blame] | 56 | |
Selim Cinek | aa9db1f | 2018-02-27 17:35:47 -0800 | [diff] [blame] | 57 | <include layout="@layout/heads_up_status_bar_layout" /> |
Evan Laird | 058c8ae | 2018-01-12 14:26:10 -0500 | [diff] [blame] | 58 | |
Evan Laird | 4b68e2f7 | 2018-03-29 18:21:48 -0400 | [diff] [blame] | 59 | <!-- The alpha of the left side is controlled by PhoneStatusBarTransitions, and the |
| 60 | individual views are controlled by StatusBarManager disable flags DISABLE_CLOCK and |
| 61 | DISABLE_NOTIFICATION_ICONS, respectively --> |
Selim Cinek | aa9db1f | 2018-02-27 17:35:47 -0800 | [diff] [blame] | 62 | <LinearLayout |
Evan Laird | 4b68e2f7 | 2018-03-29 18:21:48 -0400 | [diff] [blame] | 63 | android:id="@+id/status_bar_left_side" |
Selim Cinek | aa9db1f | 2018-02-27 17:35:47 -0800 | [diff] [blame] | 64 | android:layout_height="match_parent" |
| 65 | android:layout_width="match_parent" |
| 66 | android:clipChildren="false" |
| 67 | > |
Tetsutoki Shiozawa | ce9645b | 2018-09-05 13:17:01 +0900 | [diff] [blame] | 68 | <ViewStub |
| 69 | android:id="@+id/operator_name" |
| 70 | android:layout_width="wrap_content" |
| 71 | android:layout_height="match_parent" |
| 72 | android:layout="@layout/operator_name" /> |
| 73 | |
Selim Cinek | aa9db1f | 2018-02-27 17:35:47 -0800 | [diff] [blame] | 74 | <com.android.systemui.statusbar.policy.Clock |
| 75 | android:id="@+id/clock" |
| 76 | android:layout_width="wrap_content" |
| 77 | android:layout_height="match_parent" |
| 78 | android:textAppearance="@style/TextAppearance.StatusBar.Clock" |
| 79 | android:singleLine="true" |
| 80 | android:paddingStart="@dimen/status_bar_left_clock_starting_padding" |
| 81 | android:paddingEnd="@dimen/status_bar_left_clock_end_padding" |
| 82 | android:gravity="center_vertical|start" |
| 83 | /> |
| 84 | |
Selim Cinek | aa9db1f | 2018-02-27 17:35:47 -0800 | [diff] [blame] | 85 | <com.android.systemui.statusbar.AlphaOptimizedFrameLayout |
| 86 | android:id="@+id/notification_icon_area" |
| 87 | android:layout_width="0dp" |
| 88 | android:layout_height="match_parent" |
| 89 | android:layout_weight="1" |
| 90 | android:orientation="horizontal" |
| 91 | android:clipChildren="false"/> |
| 92 | |
| 93 | </LinearLayout> |
| 94 | </FrameLayout> |
Evan Laird | 058c8ae | 2018-01-12 14:26:10 -0500 | [diff] [blame] | 95 | |
| 96 | <!-- Space should cover the notch (if it exists) and let other views lay out around it --> |
| 97 | <android.widget.Space |
| 98 | android:id="@+id/cutout_space_view" |
| 99 | android:layout_width="0dp" |
| 100 | android:layout_height="match_parent" |
| 101 | android:gravity="center_horizontal|center_vertical" |
Evan Laird | 2cf5682 | 2017-12-18 11:22:39 -0500 | [diff] [blame] | 102 | /> |
| 103 | |
Beverly | 4077065 | 2019-02-15 15:49:49 -0500 | [diff] [blame] | 104 | <com.android.systemui.statusbar.AlphaOptimizedFrameLayout |
| 105 | android:id="@+id/centered_icon_area" |
| 106 | android:layout_width="wrap_content" |
| 107 | android:layout_height="match_parent" |
| 108 | android:orientation="horizontal" |
| 109 | android:clipChildren="false" |
| 110 | android:gravity="center_horizontal|center_vertical"/> |
| 111 | |
Evan Laird | 058c8ae | 2018-01-12 14:26:10 -0500 | [diff] [blame] | 112 | <com.android.keyguard.AlphaOptimizedLinearLayout android:id="@+id/system_icon_area" |
| 113 | android:layout_width="0dp" |
Romain Guy | 980a938 | 2010-01-08 15:06:28 -0800 | [diff] [blame] | 114 | android:layout_height="match_parent" |
Daniel Sandler | 05e2414 | 2011-11-10 11:56:49 -0500 | [diff] [blame] | 115 | android:layout_weight="1" |
Jorim Jaggi | 0d74eeb | 2014-05-09 22:05:24 +0200 | [diff] [blame] | 116 | android:orientation="horizontal" |
Evan Laird | 058c8ae | 2018-01-12 14:26:10 -0500 | [diff] [blame] | 117 | android:gravity="center_vertical|end" |
Jorim Jaggi | 0d74eeb | 2014-05-09 22:05:24 +0200 | [diff] [blame] | 118 | > |
Jorim Jaggi | 0d74eeb | 2014-05-09 22:05:24 +0200 | [diff] [blame] | 119 | |
Jorim Jaggi | 4538027d | 2014-07-30 15:43:13 +0200 | [diff] [blame] | 120 | <include layout="@layout/system_icons" /> |
Jorim Jaggi | e19b1ac | 2014-09-11 18:17:56 +0200 | [diff] [blame] | 121 | </com.android.keyguard.AlphaOptimizedLinearLayout> |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 122 | </LinearLayout> |
Dan Sandler | 44c0dfd | 2014-06-09 11:26:16 -0400 | [diff] [blame] | 123 | |
Adrian Roos | 316bf54 | 2016-08-23 17:53:07 +0200 | [diff] [blame] | 124 | <ViewStub |
| 125 | android:id="@+id/emergency_cryptkeeper_text" |
| 126 | android:layout_width="wrap_content" |
| 127 | android:layout_height="match_parent" |
| 128 | android:layout="@layout/emergency_cryptkeeper_text" |
| 129 | /> |
| 130 | |
Joe Onorato | fd52b18 | 2010-11-10 18:00:52 -0800 | [diff] [blame] | 131 | </com.android.systemui.statusbar.phone.PhoneStatusBarView> |