2009-03-03 19:31:44 -08:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!--
|
|
|
|
/* apps/common/assets/default/default/skins/StatusBar.xml
|
|
|
|
**
|
|
|
|
** Copyright 2006, The Android Open Source Project
|
|
|
|
**
|
|
|
|
** Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
** you may not use this file except in compliance with the License.
|
|
|
|
** You may obtain a copy of the License at
|
|
|
|
**
|
|
|
|
** http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
**
|
|
|
|
** Unless required by applicable law or agreed to in writing, software
|
|
|
|
** distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
** See the License for the specific language governing permissions and
|
|
|
|
** limitations under the License.
|
|
|
|
*/
|
|
|
|
-->
|
|
|
|
|
|
|
|
<!-- android:background="@drawable/status_bar_closed_default_background" -->
|
2010-11-10 18:00:52 -08:00
|
|
|
<com.android.systemui.statusbar.phone.PhoneStatusBarView
|
2010-05-25 19:42:38 -04:00
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2010-07-01 16:39:39 -04:00
|
|
|
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui"
|
2012-04-24 01:20:13 -04:00
|
|
|
android:id="@+id/status_bar"
|
2013-09-18 16:33:57 -04:00
|
|
|
android:background="@drawable/system_bar_background"
|
2009-03-03 19:31:44 -08:00
|
|
|
android:orientation="vertical"
|
|
|
|
android:focusable="true"
|
|
|
|
android:descendantFocusability="afterDescendants"
|
|
|
|
>
|
|
|
|
|
2012-04-26 01:10:29 -04:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/notification_lights_out"
|
|
|
|
android:layout_width="@dimen/status_bar_icon_size"
|
|
|
|
android:layout_height="match_parent"
|
2013-03-08 14:05:28 -08:00
|
|
|
android:paddingStart="6dip"
|
2012-09-25 14:37:42 -04:00
|
|
|
android:paddingBottom="2dip"
|
2012-04-26 01:10:29 -04:00
|
|
|
android:src="@drawable/ic_sysbar_lights_out_dot_small"
|
|
|
|
android:scaleType="center"
|
|
|
|
android:visibility="gone"
|
|
|
|
/>
|
|
|
|
|
2012-09-25 14:37:42 -04:00
|
|
|
<LinearLayout android:id="@+id/status_bar_contents"
|
2010-01-08 15:06:28 -08:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2013-03-08 14:05:28 -08:00
|
|
|
android:paddingStart="6dip"
|
|
|
|
android:paddingEnd="6dip"
|
2011-11-10 11:56:49 -05:00
|
|
|
android:orientation="horizontal"
|
|
|
|
>
|
|
|
|
|
2014-07-09 17:04:01 +02:00
|
|
|
<com.android.systemui.statusbar.AlphaOptimizedFrameLayout
|
2012-09-25 14:37:42 -04:00
|
|
|
android:id="@+id/notification_icon_area"
|
2009-03-03 19:31:44 -08:00
|
|
|
android:layout_width="0dip"
|
2010-01-08 15:06:28 -08:00
|
|
|
android:layout_height="match_parent"
|
2011-11-10 11:56:49 -05:00
|
|
|
android:layout_weight="1"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
>
|
2014-06-25 03:08:25 +02:00
|
|
|
<!-- The alpha of this area is both controlled from PhoneStatusBarTransitions and
|
|
|
|
PhoneStatusBar (DISABLE_NOTIFICATION_ICONS), so we need two views here. -->
|
2014-07-09 17:04:01 +02:00
|
|
|
<com.android.systemui.statusbar.AlphaOptimizedLinearLayout
|
2014-06-25 03:08:25 +02:00
|
|
|
android:id="@+id/notification_icon_area_inner"
|
2011-11-10 11:56:49 -05:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2014-06-25 03:08:25 +02:00
|
|
|
>
|
|
|
|
<com.android.systemui.statusbar.StatusBarIconView android:id="@+id/moreIcon"
|
|
|
|
android:layout_width="@dimen/status_bar_icon_size"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:src="@drawable/stat_notify_more"
|
|
|
|
android:visibility="gone"
|
|
|
|
/>
|
|
|
|
<com.android.systemui.statusbar.phone.IconMerger android:id="@+id/notificationIcons"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_alignParentStart="true"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:orientation="horizontal"/>
|
2014-07-09 17:04:01 +02:00
|
|
|
</com.android.systemui.statusbar.AlphaOptimizedLinearLayout>
|
|
|
|
</com.android.systemui.statusbar.AlphaOptimizedFrameLayout>
|
2011-11-10 11:56:49 -05:00
|
|
|
|
2014-06-25 03:08:25 +02:00
|
|
|
<com.android.systemui.statusbar.AlphaOptimizedLinearLayout android:id="@+id/system_icon_area"
|
2009-03-03 19:31:44 -08:00
|
|
|
android:layout_width="wrap_content"
|
2010-01-08 15:06:28 -08:00
|
|
|
android:layout_height="match_parent"
|
2014-05-09 22:05:24 +02:00
|
|
|
android:orientation="horizontal"
|
|
|
|
>
|
|
|
|
|
2014-07-30 15:43:13 +02:00
|
|
|
<include layout="@layout/system_icons" />
|
|
|
|
|
2012-09-25 14:37:42 -04:00
|
|
|
<com.android.systemui.statusbar.policy.Clock
|
|
|
|
android:id="@+id/clock"
|
|
|
|
android:textAppearance="@style/TextAppearance.StatusBar.Clock"
|
2011-07-22 16:23:09 -04:00
|
|
|
android:layout_width="wrap_content"
|
2012-09-25 14:37:42 -04:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:singleLine="true"
|
2013-03-08 14:05:28 -08:00
|
|
|
android:paddingStart="6dip"
|
2012-07-27 18:27:11 -07:00
|
|
|
android:gravity="center_vertical|start"
|
2011-07-22 16:23:09 -04:00
|
|
|
/>
|
2014-06-25 03:08:25 +02:00
|
|
|
</com.android.systemui.statusbar.AlphaOptimizedLinearLayout>
|
2009-03-03 19:31:44 -08:00
|
|
|
</LinearLayout>
|
2014-06-09 11:26:16 -04:00
|
|
|
|
|
|
|
<ViewStub
|
|
|
|
android:id="@+id/ticker_stub"
|
|
|
|
android:inflatedId="@+id/ticker"
|
|
|
|
android:layout="@layout/status_bar_ticker"
|
2010-01-08 15:06:28 -08:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2014-06-09 11:26:16 -04:00
|
|
|
/>
|
|
|
|
|
2010-11-10 18:00:52 -08:00
|
|
|
</com.android.systemui.statusbar.phone.PhoneStatusBarView>
|