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"
|
|
|
|
>
|
|
|
|
|
|
|
|
<LinearLayout
|
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"
|
|
|
|
>
|
|
|
|
<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"
|
2012-07-27 18:27:11 -07:00
|
|
|
android:layout_alignParentStart="true"
|
2011-11-10 11:56:49 -05:00
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:orientation="horizontal"/>
|
|
|
|
</LinearLayout>
|
|
|
|
|
2012-09-25 14:37:42 -04:00
|
|
|
<LinearLayout 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"
|
|
|
|
>
|
|
|
|
<LinearLayout android:id="@+id/system_icons"
|
2011-08-11 14:01:04 -07:00
|
|
|
android:layout_width="wrap_content"
|
2012-09-25 14:37:42 -04:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
>
|
2014-05-09 22:05:24 +02:00
|
|
|
<LinearLayout android:id="@+id/statusIcons"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:orientation="horizontal"/>
|
|
|
|
|
|
|
|
<include layout="@layout/signal_cluster_view"
|
2012-09-25 14:37:42 -04:00
|
|
|
android:id="@+id/signal_cluster"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2014-05-09 22:05:24 +02:00
|
|
|
android:layout_marginStart="2dp"
|
2012-09-25 14:37:42 -04:00
|
|
|
/>
|
2013-11-05 11:55:04 -05:00
|
|
|
<!-- battery must be padded below to match assets -->
|
2013-04-12 01:39:02 -04:00
|
|
|
<com.android.systemui.BatteryMeterView
|
2012-09-25 14:37:42 -04:00
|
|
|
android:id="@+id/battery"
|
2013-04-12 01:39:02 -04:00
|
|
|
android:layout_height="16dp"
|
2013-09-25 18:07:52 -04:00
|
|
|
android:layout_width="10.5dp"
|
2013-11-05 11:55:04 -05:00
|
|
|
android:layout_marginBottom="0.33dp"
|
2013-04-12 01:39:02 -04:00
|
|
|
android:layout_marginStart="4dip"
|
2012-09-25 14:37:42 -04:00
|
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<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
|
|
|
/>
|
|
|
|
</LinearLayout>
|
2009-03-03 19:31:44 -08:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout android:id="@+id/ticker"
|
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"
|
2009-03-03 19:31:44 -08:00
|
|
|
android:animationCache="false"
|
|
|
|
android:orientation="horizontal" >
|
|
|
|
<ImageSwitcher android:id="@+id/tickerIcon"
|
2011-10-13 16:29:57 -04:00
|
|
|
android:layout_width="@dimen/status_bar_icon_size"
|
|
|
|
android:layout_height="@dimen/status_bar_icon_size"
|
2012-07-27 18:27:11 -07:00
|
|
|
android:layout_marginEnd="4dip"
|
2009-03-03 19:31:44 -08:00
|
|
|
>
|
2010-05-26 17:03:26 -04:00
|
|
|
<com.android.systemui.statusbar.AnimatedImageView
|
2011-10-13 16:29:57 -04:00
|
|
|
android:layout_width="@dimen/status_bar_icon_size"
|
|
|
|
android:layout_height="@dimen/status_bar_icon_size"
|
|
|
|
android:scaleType="center"
|
2009-03-03 19:31:44 -08:00
|
|
|
/>
|
2010-05-26 17:03:26 -04:00
|
|
|
<com.android.systemui.statusbar.AnimatedImageView
|
2011-10-13 16:29:57 -04:00
|
|
|
android:layout_width="@dimen/status_bar_icon_size"
|
|
|
|
android:layout_height="@dimen/status_bar_icon_size"
|
|
|
|
android:scaleType="center"
|
2009-03-03 19:31:44 -08:00
|
|
|
/>
|
|
|
|
</ImageSwitcher>
|
2010-11-10 18:00:52 -08:00
|
|
|
<com.android.systemui.statusbar.phone.TickerView android:id="@+id/tickerText"
|
2009-03-03 19:31:44 -08:00
|
|
|
android:layout_width="0dip"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingTop="2dip"
|
2013-03-08 14:05:28 -08:00
|
|
|
android:paddingEnd="10dip">
|
2009-03-03 19:31:44 -08:00
|
|
|
<TextView
|
2011-10-14 13:14:46 -04:00
|
|
|
android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker"
|
2010-01-08 15:06:28 -08:00
|
|
|
android:layout_width="match_parent"
|
2009-03-03 19:31:44 -08:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:singleLine="true"
|
2010-05-21 15:42:06 -04:00
|
|
|
/>
|
2009-03-03 19:31:44 -08:00
|
|
|
<TextView
|
2011-10-14 13:14:46 -04:00
|
|
|
android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker"
|
2010-01-08 15:06:28 -08:00
|
|
|
android:layout_width="match_parent"
|
2009-03-03 19:31:44 -08:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:singleLine="true"
|
2010-05-21 15:42:06 -04:00
|
|
|
/>
|
2010-11-10 18:00:52 -08:00
|
|
|
</com.android.systemui.statusbar.phone.TickerView>
|
2009-03-03 19:31:44 -08:00
|
|
|
</LinearLayout>
|
2010-11-10 18:00:52 -08:00
|
|
|
</com.android.systemui.statusbar.phone.PhoneStatusBarView>
|