2010-07-09 18:52:06 -04:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!--
|
2010-09-17 18:38:38 -04:00
|
|
|
* Copyright (C) 2010 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.
|
2010-07-09 18:52:06 -04:00
|
|
|
-->
|
|
|
|
|
|
|
|
<!-- android:background="@drawable/status_bar_closed_default_background" -->
|
2010-09-20 16:16:32 -04:00
|
|
|
<com.android.systemui.statusbar.tablet.TabletStatusBarView
|
2010-07-09 18:52:06 -04:00
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui"
|
|
|
|
android:background="@drawable/status_bar_background"
|
|
|
|
>
|
2010-09-02 11:59:41 -04:00
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/bar_contents"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
>
|
2010-07-09 18:52:06 -04:00
|
|
|
|
2010-09-26 13:02:01 -07:00
|
|
|
<ImageView
|
2010-10-22 14:06:10 -04:00
|
|
|
android:id="@+id/notificationTrigger"
|
2010-07-09 18:52:06 -04:00
|
|
|
android:layout_width="wrap_content"
|
2010-10-22 14:06:10 -04:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_marginLeft="6dip"
|
|
|
|
android:src="@drawable/ic_sysbar_noti_none"
|
2010-10-08 10:39:46 -04:00
|
|
|
android:background="@drawable/ic_sysbar_icon_bg"
|
2010-10-22 14:06:10 -04:00
|
|
|
android:gravity="center"
|
2010-09-26 13:02:01 -07:00
|
|
|
/>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/notificationButtons"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
2010-10-22 14:06:10 -04:00
|
|
|
android:layout_toLeftOf="@+id/notificationTrigger"
|
2010-07-09 18:52:06 -04:00
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:orientation="horizontal"
|
2010-09-26 13:02:01 -07:00
|
|
|
android:visibility="gone"
|
2010-07-15 16:35:29 -04:00
|
|
|
>
|
2010-09-26 13:02:01 -07:00
|
|
|
|
2010-09-27 17:59:37 -07:00
|
|
|
<TextView android:id="@+id/clear_all_button"
|
2010-09-26 13:02:01 -07:00
|
|
|
style="?android:attr/textAppearance"
|
2010-09-20 16:36:08 -04:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2010-09-26 13:02:01 -07:00
|
|
|
android:layout_gravity="right|center_vertical"
|
|
|
|
android:layout_marginTop="2dip"
|
|
|
|
android:layout_marginBottom="1dip"
|
|
|
|
android:layout_marginRight="10dip"
|
|
|
|
android:padding="6dip"
|
|
|
|
android:textSize="14sp"
|
2010-09-27 17:59:37 -07:00
|
|
|
android:text="@string/status_bar_clear_all_button"
|
2010-09-20 16:36:08 -04:00
|
|
|
/>
|
2010-09-26 13:02:01 -07:00
|
|
|
|
2010-09-27 17:59:37 -07:00
|
|
|
<TextView android:id="@+id/do_not_disturb"
|
2010-09-26 13:02:01 -07:00
|
|
|
style="?android:attr/textAppearance"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="right|center_vertical"
|
|
|
|
android:layout_marginTop="2dip"
|
|
|
|
android:layout_marginBottom="1dip"
|
|
|
|
android:layout_marginRight="10dip"
|
|
|
|
android:padding="6dip"
|
|
|
|
android:textSize="14sp"
|
2010-09-27 17:59:37 -07:00
|
|
|
android:text="@string/status_bar_do_not_disturb_button"
|
2010-09-26 13:02:01 -07:00
|
|
|
/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<com.android.systemui.statusbar.tablet.NotificationIconArea
|
|
|
|
android:id="@+id/notificationIcons"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
2010-10-22 14:06:10 -04:00
|
|
|
android:layout_toLeftOf="@+id/notificationTrigger"
|
2010-09-26 13:02:01 -07:00
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
>
|
2010-09-27 17:59:37 -07:00
|
|
|
<com.android.systemui.statusbar.tablet.InputMethodButton
|
|
|
|
android:id="@+id/imeButton"
|
2010-07-15 16:35:29 -04:00
|
|
|
android:layout_width="wrap_content"
|
2010-09-27 17:59:37 -07:00
|
|
|
android:layout_height="match_parent"
|
2010-07-23 09:11:14 -04:00
|
|
|
android:layout_marginLeft="8dip"
|
2010-09-27 17:59:37 -07:00
|
|
|
android:src="@drawable/ic_sysbar_ime_default"
|
|
|
|
android:background="@drawable/ic_sysbar_icon_bg"
|
|
|
|
android:visibility="invisible"
|
2010-07-15 16:35:29 -04:00
|
|
|
/>
|
2010-09-27 17:59:37 -07:00
|
|
|
<view
|
|
|
|
class="com.android.systemui.statusbar.tablet.NotificationIconArea$IconLayout"
|
|
|
|
android:id="@+id/icons"
|
2010-10-08 10:39:46 -04:00
|
|
|
android:layout_width="wrap_content"
|
2010-09-27 17:59:37 -07:00
|
|
|
android:layout_height="@*android:dimen/status_bar_icon_size"
|
2010-10-08 10:39:46 -04:00
|
|
|
android:layout_marginLeft="8dip"
|
|
|
|
/>
|
2010-07-15 16:35:29 -04:00
|
|
|
</com.android.systemui.statusbar.tablet.NotificationIconArea>
|
2010-07-23 09:11:14 -04:00
|
|
|
|
2010-10-08 10:39:46 -04:00
|
|
|
|
2010-09-17 18:38:38 -04:00
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/ticker"
|
|
|
|
android:layout_width="wrap_content"
|
2010-07-23 09:11:14 -04:00
|
|
|
android:layout_height="match_parent"
|
2010-09-27 17:59:37 -07:00
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_toRightOf="@+id/systemInfo"
|
2010-08-05 16:18:42 -04:00
|
|
|
android:paddingLeft="6dip"
|
2010-09-17 18:38:38 -04:00
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:animateLayoutChanges="true"
|
|
|
|
/>
|
2010-08-05 16:18:42 -04:00
|
|
|
|
|
|
|
<include layout="@layout/status_bar_center"
|
2010-08-31 14:16:13 -04:00
|
|
|
android:layout_width="256dip"
|
2010-08-24 16:24:35 -04:00
|
|
|
android:layout_height="match_parent"
|
2010-08-05 16:18:42 -04:00
|
|
|
android:layout_centerInParent="true"
|
|
|
|
/>
|
2010-07-09 18:52:06 -04:00
|
|
|
|
2010-09-26 18:04:44 -07:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/navigationArea"
|
2010-08-31 15:43:50 -04:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
2010-09-27 17:59:37 -07:00
|
|
|
android:layout_alignParentLeft="true"
|
2010-09-26 18:04:44 -07:00
|
|
|
android:orientation="horizontal"
|
|
|
|
>
|
2010-09-27 17:59:37 -07:00
|
|
|
|
|
|
|
<com.android.systemui.statusbar.KeyButtonView android:id="@+id/back"
|
|
|
|
android:layout_width="wrap_content"
|
2010-10-13 12:13:33 -04:00
|
|
|
android:layout_height="match_parent"
|
2010-10-24 14:28:21 -07:00
|
|
|
android:paddingLeft="15dip"
|
|
|
|
android:paddingRight="15dip"
|
|
|
|
android:src="@drawable/status_bar_back"
|
2010-09-27 17:59:37 -07:00
|
|
|
android:background="@drawable/ic_sysbar_icon_bg"
|
|
|
|
systemui:keyCode="4"
|
|
|
|
/>
|
|
|
|
<com.android.systemui.statusbar.KeyButtonView android:id="@+id/home"
|
2010-09-26 18:04:44 -07:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
2010-10-24 14:28:21 -07:00
|
|
|
android:paddingLeft="15dip"
|
|
|
|
android:paddingRight="15dip"
|
2010-09-27 17:59:37 -07:00
|
|
|
android:src="@drawable/ic_sysbar_home"
|
|
|
|
android:background="@drawable/ic_sysbar_icon_bg"
|
|
|
|
systemui:keyCode="3"
|
2010-09-26 18:04:44 -07:00
|
|
|
/>
|
2010-10-20 18:32:52 -07:00
|
|
|
<ImageButton android:id="@+id/recent_apps"
|
2010-09-26 18:04:44 -07:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:src="@drawable/ic_sysbar_recent"
|
|
|
|
android:background="@drawable/ic_sysbar_icon_bg"
|
2010-10-24 14:28:21 -07:00
|
|
|
android:paddingLeft="15dip"
|
|
|
|
android:paddingRight="15dip"
|
2010-09-26 18:04:44 -07:00
|
|
|
/>
|
2010-09-27 17:59:37 -07:00
|
|
|
<com.android.systemui.statusbar.KeyButtonView android:id="@+id/menu"
|
2010-09-26 18:04:44 -07:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
2010-10-24 14:28:21 -07:00
|
|
|
android:paddingLeft="15dip"
|
|
|
|
android:paddingRight="15dip"
|
2010-09-27 17:59:37 -07:00
|
|
|
android:src="@drawable/ic_sysbar_menu"
|
2010-09-26 18:04:44 -07:00
|
|
|
android:background="@drawable/ic_sysbar_icon_bg"
|
2010-09-27 17:59:37 -07:00
|
|
|
systemui:keyCode="82"
|
|
|
|
android:visibility="invisible"
|
2010-09-26 18:04:44 -07:00
|
|
|
/>
|
2010-09-27 17:59:37 -07:00
|
|
|
<com.android.systemui.statusbar.tablet.ShirtPocket
|
|
|
|
android:id="@+id/pocket"
|
|
|
|
android:layout_width="71dip"
|
2010-09-26 18:04:44 -07:00
|
|
|
android:layout_height="match_parent"
|
2010-09-27 17:59:37 -07:00
|
|
|
android:background="@drawable/ic_sysbar_icon_bg"
|
2010-10-24 14:28:21 -07:00
|
|
|
android:paddingLeft="15dip"
|
|
|
|
android:paddingRight="15dip"
|
2010-09-27 17:59:37 -07:00
|
|
|
android:animateLayoutChanges="true"
|
|
|
|
android:clickable="true"
|
|
|
|
android:descendantFocusability="blocksDescendants"
|
|
|
|
android:gravity="center"
|
|
|
|
>
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/pocket_icon"
|
|
|
|
android:src="@drawable/ic_sysbar_pocket"
|
|
|
|
android:visibility="invisible"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center"
|
|
|
|
/>
|
|
|
|
</com.android.systemui.statusbar.tablet.ShirtPocket>
|
2010-09-26 18:04:44 -07:00
|
|
|
</LinearLayout>
|
2010-09-02 11:59:41 -04:00
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<!-- It's curtains for you. -->
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/lights_out"
|
|
|
|
android:src="@drawable/ic_sysbar_lightsout"
|
|
|
|
android:gravity="center"
|
|
|
|
android:background="#FF000000"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:visibility="invisible"
|
|
|
|
android:clickable="true"
|
|
|
|
/>
|
2010-09-20 16:16:32 -04:00
|
|
|
</com.android.systemui.statusbar.tablet.TabletStatusBarView>
|
2010-07-09 18:52:06 -04:00
|
|
|
|