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:layout_width="match_parent" 25 android:layout_height="@dimen/status_bar_height" 26 android:id="@+id/status_bar" 27 android:background="@drawable/system_bar_background" 28 android:orientation="vertical" 29 android:focusable="false" 30 android:descendantFocusability="afterDescendants" 31 > 32 33 <ImageView 34 android:id="@+id/notification_lights_out" 35 android:layout_width="@dimen/status_bar_icon_size" 36 android:layout_height="match_parent" 37 android:paddingStart="6dip" 38 android:paddingBottom="2dip" 39 android:src="@drawable/ic_sysbar_lights_out_dot_small" 40 android:scaleType="center" 41 android:visibility="gone" 42 /> 43 44 <LinearLayout android:id="@+id/status_bar_contents" 45 android:layout_width="match_parent" 46 android:layout_height="match_parent" 47 android:paddingStart="6dp" 48 android:paddingEnd="8dp" 49 android:orientation="horizontal" 50 > 51 52 <!-- The alpha of this area is controlled from both PhoneStatusBarTransitions and 53 PhoneStatusBar (DISABLE_NOTIFICATION_ICONS). --> 54 <com.android.systemui.statusbar.AlphaOptimizedFrameLayout 55 android:id="@+id/notification_icon_area" 56 android:layout_width="0dip" 57 android:layout_height="match_parent" 58 android:layout_weight="1" 59 android:orientation="horizontal" /> 60 61 <com.android.keyguard.AlphaOptimizedLinearLayout android:id="@+id/system_icon_area" 62 android:layout_width="wrap_content" 63 android:layout_height="match_parent" 64 android:orientation="horizontal" 65 > 66 67 <include layout="@layout/system_icons" /> 68 69 <com.android.systemui.statusbar.policy.Clock 70 android:id="@+id/clock" 71 android:textAppearance="@style/TextAppearance.StatusBar.Clock" 72 android:layout_width="wrap_content" 73 android:layout_height="match_parent" 74 android:singleLine="true" 75 android:paddingStart="@dimen/status_bar_clock_starting_padding" 76 android:paddingEnd="@dimen/status_bar_clock_end_padding" 77 android:gravity="center_vertical|start" 78 /> 79 </com.android.keyguard.AlphaOptimizedLinearLayout> 80 </LinearLayout> 81 82 <ViewStub 83 android:id="@+id/emergency_cryptkeeper_text" 84 android:layout_width="wrap_content" 85 android:layout_height="match_parent" 86 android:layout="@layout/emergency_cryptkeeper_text" 87 /> 88 89</com.android.systemui.statusbar.phone.PhoneStatusBarView> 90