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 | ** |
| 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 |
| 9 | ** |
| 10 | ** http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | ** |
| 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 |
| 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" |
Daniel Sandler | a310af8 | 2012-04-24 01:20:13 -0400 | [diff] [blame] | 24 | android:id="@+id/status_bar" |
John Spurlock | e631b41 | 2013-09-18 16:33:57 -0400 | [diff] [blame] | 25 | android:background="@drawable/system_bar_background" |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 26 | android:orientation="vertical" |
Julia Reynolds | 6819b9a | 2015-07-16 12:18:43 -0400 | [diff] [blame] | 27 | android:focusable="false" |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 28 | android:descendantFocusability="afterDescendants" |
| 29 | > |
| 30 | |
Daniel Sandler | d7e9686 | 2012-04-26 01:10:29 -0400 | [diff] [blame] | 31 | <ImageView |
| 32 | android:id="@+id/notification_lights_out" |
| 33 | android:layout_width="@dimen/status_bar_icon_size" |
| 34 | android:layout_height="match_parent" |
Fabrice Di Meglio | 02c40c2 | 2013-03-08 14:05:28 -0800 | [diff] [blame] | 35 | android:paddingStart="6dip" |
Daniel Sandler | 173bae2 | 2012-09-25 14:37:42 -0400 | [diff] [blame] | 36 | android:paddingBottom="2dip" |
Daniel Sandler | d7e9686 | 2012-04-26 01:10:29 -0400 | [diff] [blame] | 37 | android:src="@drawable/ic_sysbar_lights_out_dot_small" |
| 38 | android:scaleType="center" |
| 39 | android:visibility="gone" |
| 40 | /> |
| 41 | |
Daniel Sandler | 173bae2 | 2012-09-25 14:37:42 -0400 | [diff] [blame] | 42 | <LinearLayout android:id="@+id/status_bar_contents" |
Romain Guy | 980a938 | 2010-01-08 15:06:28 -0800 | [diff] [blame] | 43 | android:layout_width="match_parent" |
| 44 | android:layout_height="match_parent" |
Jorim Jaggi | 5172dc2 | 2014-09-02 14:59:06 +0200 | [diff] [blame] | 45 | android:paddingStart="6dp" |
| 46 | android:paddingEnd="8dp" |
Daniel Sandler | 05e2414 | 2011-11-10 11:56:49 -0500 | [diff] [blame] | 47 | android:orientation="horizontal" |
| 48 | > |
| 49 | |
Anthony Chen | 83092c6 | 2016-01-11 17:00:36 -0800 | [diff] [blame] | 50 | <!-- The alpha of this area is controlled from both PhoneStatusBarTransitions and |
| 51 | PhoneStatusBar (DISABLE_NOTIFICATION_ICONS). --> |
Jorim Jaggi | 4649c8d | 2014-07-09 17:04:01 +0200 | [diff] [blame] | 52 | <com.android.systemui.statusbar.AlphaOptimizedFrameLayout |
Daniel Sandler | 173bae2 | 2012-09-25 14:37:42 -0400 | [diff] [blame] | 53 | android:id="@+id/notification_icon_area" |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 54 | android:layout_width="0dip" |
Romain Guy | 980a938 | 2010-01-08 15:06:28 -0800 | [diff] [blame] | 55 | android:layout_height="match_parent" |
Daniel Sandler | 05e2414 | 2011-11-10 11:56:49 -0500 | [diff] [blame] | 56 | android:layout_weight="1" |
Anthony Chen | 83092c6 | 2016-01-11 17:00:36 -0800 | [diff] [blame] | 57 | android:orientation="horizontal" /> |
Daniel Sandler | 05e2414 | 2011-11-10 11:56:49 -0500 | [diff] [blame] | 58 | |
Jorim Jaggi | e19b1ac | 2014-09-11 18:17:56 +0200 | [diff] [blame] | 59 | <com.android.keyguard.AlphaOptimizedLinearLayout android:id="@+id/system_icon_area" |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 60 | android:layout_width="wrap_content" |
Romain Guy | 980a938 | 2010-01-08 15:06:28 -0800 | [diff] [blame] | 61 | android:layout_height="match_parent" |
Jorim Jaggi | 0d74eeb | 2014-05-09 22:05:24 +0200 | [diff] [blame] | 62 | android:orientation="horizontal" |
| 63 | > |
Jorim Jaggi | 0d74eeb | 2014-05-09 22:05:24 +0200 | [diff] [blame] | 64 | |
Jorim Jaggi | 4538027d | 2014-07-30 15:43:13 +0200 | [diff] [blame] | 65 | <include layout="@layout/system_icons" /> |
| 66 | |
Daniel Sandler | 173bae2 | 2012-09-25 14:37:42 -0400 | [diff] [blame] | 67 | <com.android.systemui.statusbar.policy.Clock |
| 68 | android:id="@+id/clock" |
| 69 | android:textAppearance="@style/TextAppearance.StatusBar.Clock" |
| 70 | android:layout_width="wrap_content" |
| 71 | android:layout_height="match_parent" |
| 72 | android:singleLine="true" |
Jorim Jaggi | 5172dc2 | 2014-09-02 14:59:06 +0200 | [diff] [blame] | 73 | android:paddingStart="7dp" |
Fabrice Di Meglio | 8afcd14 | 2012-07-27 18:27:11 -0700 | [diff] [blame] | 74 | android:gravity="center_vertical|start" |
Daniel Sandler | 2b69735 | 2011-07-22 16:23:09 -0400 | [diff] [blame] | 75 | /> |
Jorim Jaggi | e19b1ac | 2014-09-11 18:17:56 +0200 | [diff] [blame] | 76 | </com.android.keyguard.AlphaOptimizedLinearLayout> |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 77 | </LinearLayout> |
Dan Sandler | 44c0dfd | 2014-06-09 11:26:16 -0400 | [diff] [blame] | 78 | |
Joe Onorato | fd52b18 | 2010-11-10 18:00:52 -0800 | [diff] [blame] | 79 | </com.android.systemui.statusbar.phone.PhoneStatusBarView> |