1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- 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" --> 21 <com.android.systemui.statusbar.phone.PhoneStatusBarView 22 xmlns:android="http://schemas.android.com/apk/res/android" 23 xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui" 24 android:id="@+id/status_bar" 25 android:background="@drawable/system_bar_background" 26 android:orientation="vertical" 27 android:focusable="false" 28 android:descendantFocusability="afterDescendants" 29 > 30 31 <ImageView 32 android:id="@+id/notification_lights_out" 33 android:layout_width="@dimen/status_bar_icon_size" 34 android:layout_height="match_parent" 35 android:paddingStart="6dip" 36 android:paddingBottom="2dip" 37 android:src="@drawable/ic_sysbar_lights_out_dot_small" 38 android:scaleType="center" 39 android:visibility="gone" 40 /> 41 42 <LinearLayout android:id="@+id/status_bar_contents" 43 android:layout_width="match_parent" 44 android:layout_height="match_parent" 45 android:paddingStart="6dp" 46 android:paddingEnd="8dp" 47 android:orientation="horizontal" 48 > 49 50 <!-- The alpha of this area is controlled from both PhoneStatusBarTransitions and 51 PhoneStatusBar (DISABLE_NOTIFICATION_ICONS). --> 52 <com.android.systemui.statusbar.AlphaOptimizedFrameLayout 53 android:id="@+id/notification_icon_area" 54 android:layout_width="0dip" 55 android:layout_height="match_parent" 56 android:layout_weight="1" 57 android:orientation="horizontal" /> 58 59 <com.android.keyguard.AlphaOptimizedLinearLayout android:id="@+id/system_icon_area" 60 android:layout_width="wrap_content" 61 android:layout_height="match_parent" 62 android:orientation="horizontal" 63 > 64 65 <include layout="@layout/system_icons" /> 66 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" 73 android:paddingStart="@dimen/status_bar_clock_starting_padding" 74 android:paddingEnd="@dimen/status_bar_clock_end_padding" 75 android:gravity="center_vertical|start" 76 /> 77 </com.android.keyguard.AlphaOptimizedLinearLayout> 78 </LinearLayout> 79 80 </com.android.systemui.statusbar.phone.PhoneStatusBarView> 81