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
|
|
|
-->
|
|
|
|
|
2010-12-14 12:14:53 -05:00
|
|
|
<!-- TabletStatusBarView extends FrameLayout -->
|
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"
|
2012-04-20 14:49:13 -04:00
|
|
|
android:background="@drawable/system_bar_background"
|
2010-07-09 18:52:06 -04:00
|
|
|
>
|
2010-12-14 12:14:53 -05:00
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/bar_contents_holder"
|
2010-09-02 11:59:41 -04:00
|
|
|
android:layout_width="match_parent"
|
2012-04-20 14:49:13 -04:00
|
|
|
android:layout_height="@*android:dimen/system_bar_height"
|
2011-01-11 17:07:41 -08:00
|
|
|
android:layout_gravity="bottom"
|
2010-09-02 11:59:41 -04:00
|
|
|
>
|
2010-12-14 12:14:53 -05:00
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/bar_contents"
|
|
|
|
android:layout_width="match_parent"
|
2010-09-26 13:02:01 -07:00
|
|
|
android:layout_height="match_parent"
|
2011-07-29 00:33:53 -04:00
|
|
|
android:clipChildren="false"
|
2010-07-15 16:35:29 -04:00
|
|
|
>
|
2010-12-14 12:14:53 -05:00
|
|
|
|
|
|
|
<!-- notification icons & panel access -->
|
2012-04-20 14:49:13 -04:00
|
|
|
<include layout="@layout/system_bar_notification_area"
|
2010-12-07 14:36:51 +09:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
2010-12-14 12:14:53 -05:00
|
|
|
android:layout_alignParentRight="true"
|
2011-01-26 16:03:20 -05:00
|
|
|
android:layout_marginTop="1dp"
|
2010-12-07 14:36:51 +09:00
|
|
|
/>
|
2010-09-26 13:02:01 -07:00
|
|
|
|
2010-12-14 12:14:53 -05:00
|
|
|
<!-- navigation controls -->
|
2010-11-10 18:00:52 -08:00
|
|
|
<LinearLayout
|
2010-12-14 12:14:53 -05:00
|
|
|
android:id="@+id/navigationArea"
|
2010-07-15 16:35:29 -04:00
|
|
|
android:layout_width="wrap_content"
|
2010-11-17 16:51:26 -05:00
|
|
|
android:layout_height="match_parent"
|
2011-08-17 09:50:35 -04:00
|
|
|
android:layout_alignParentLeft="true"
|
2010-12-14 12:14:53 -05:00
|
|
|
android:orientation="horizontal"
|
2011-07-29 00:33:53 -04:00
|
|
|
android:clipChildren="false"
|
|
|
|
android:clipToPadding="false"
|
2010-11-10 18:00:52 -08:00
|
|
|
>
|
2011-08-17 09:50:35 -04:00
|
|
|
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@+id/back"
|
2012-03-07 15:48:51 -08:00
|
|
|
android:layout_width="@dimen/navigation_key_width"
|
2011-08-17 09:50:35 -04:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:src="@drawable/ic_sysbar_back"
|
|
|
|
systemui:keyCode="4"
|
|
|
|
android:contentDescription="@string/accessibility_back"
|
|
|
|
systemui:glowBackground="@drawable/ic_sysbar_highlight"
|
|
|
|
/>
|
2010-12-14 12:14:53 -05:00
|
|
|
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@+id/home"
|
2012-03-07 15:48:51 -08:00
|
|
|
android:layout_width="@dimen/navigation_key_width"
|
2010-11-17 16:51:26 -05:00
|
|
|
android:layout_height="match_parent"
|
2010-12-14 12:14:53 -05:00
|
|
|
android:src="@drawable/ic_sysbar_home"
|
|
|
|
systemui:keyCode="3"
|
2011-06-28 01:12:41 -07:00
|
|
|
android:contentDescription="@string/accessibility_home"
|
2011-07-29 00:33:53 -04:00
|
|
|
systemui:glowBackground="@drawable/ic_sysbar_highlight"
|
2010-12-14 12:14:53 -05:00
|
|
|
/>
|
2011-07-29 00:33:53 -04:00
|
|
|
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@+id/recent_apps"
|
2012-03-07 15:48:51 -08:00
|
|
|
android:layout_width="@dimen/navigation_key_width"
|
2010-12-14 12:14:53 -05:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:src="@drawable/ic_sysbar_recent"
|
2011-09-30 11:07:30 -07:00
|
|
|
android:contentDescription="@string/accessibility_recent"
|
2011-07-29 00:33:53 -04:00
|
|
|
systemui:glowBackground="@drawable/ic_sysbar_highlight"
|
2010-12-14 12:14:53 -05:00
|
|
|
/>
|
|
|
|
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@+id/menu"
|
2012-03-07 15:48:51 -08:00
|
|
|
android:layout_width="@dimen/navigation_menu_key_width"
|
2010-12-14 12:14:53 -05:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:src="@drawable/ic_sysbar_menu"
|
|
|
|
systemui:keyCode="82"
|
|
|
|
android:visibility="invisible"
|
2011-06-28 01:12:41 -07:00
|
|
|
android:contentDescription="@string/accessibility_menu"
|
2011-07-29 00:33:53 -04:00
|
|
|
systemui:glowBackground="@drawable/ic_sysbar_highlight"
|
2010-12-14 12:14:53 -05:00
|
|
|
/>
|
2010-11-10 18:00:52 -08:00
|
|
|
</LinearLayout>
|
2010-09-27 17:59:37 -07:00
|
|
|
|
2010-12-14 12:14:53 -05:00
|
|
|
<!-- fake space bar zone -->
|
2011-01-19 15:25:55 -08:00
|
|
|
<com.android.systemui.statusbar.policy.EventHole android:id="@+id/fake_space_bar"
|
2010-10-13 12:13:33 -04:00
|
|
|
android:layout_height="match_parent"
|
2011-01-19 15:25:55 -08:00
|
|
|
android:layout_width="0dp"
|
2010-12-14 12:14:53 -05:00
|
|
|
android:paddingLeft="8dip"
|
|
|
|
android:paddingRight="8dip"
|
|
|
|
android:layout_toRightOf="@+id/navigationArea"
|
|
|
|
android:layout_toLeftOf="@+id/notificationArea"
|
|
|
|
android:visibility="gone"
|
2010-09-26 18:04:44 -07:00
|
|
|
/>
|
2010-12-14 12:14:53 -05:00
|
|
|
</RelativeLayout>
|
|
|
|
</FrameLayout>
|
2010-09-02 11:59:41 -04:00
|
|
|
|
2010-12-14 12:14:53 -05:00
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/bar_shadow_holder"
|
|
|
|
android:layout_width="match_parent"
|
2012-06-25 14:32:05 -04:00
|
|
|
android:layout_height="@*android:dimen/system_bar_height"
|
2011-01-11 17:07:41 -08:00
|
|
|
android:layout_gravity="bottom"
|
2010-12-14 12:14:53 -05:00
|
|
|
>
|
|
|
|
<!-- lights out shade -->
|
2010-11-19 14:47:59 -05:00
|
|
|
<RelativeLayout
|
2010-12-14 12:14:53 -05:00
|
|
|
android:id="@+id/bar_shadow"
|
2010-11-19 14:47:59 -05:00
|
|
|
android:layout_width="match_parent"
|
2010-11-17 16:51:26 -05:00
|
|
|
android:layout_height="match_parent"
|
2010-12-14 12:14:53 -05:00
|
|
|
android:background="#FF000000"
|
|
|
|
android:visibility="gone"
|
2010-11-19 14:47:59 -05:00
|
|
|
>
|
|
|
|
<ImageView
|
2010-12-14 12:14:53 -05:00
|
|
|
android:id="@+id/dot0"
|
|
|
|
android:layout_width="80dip"
|
|
|
|
android:layout_height="48dip"
|
|
|
|
android:src="@drawable/ic_sysbar_lights_out_dot_small"
|
2010-11-19 14:47:59 -05:00
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
/>
|
|
|
|
<ImageView
|
2010-12-14 12:14:53 -05:00
|
|
|
android:id="@+id/dot1"
|
|
|
|
android:layout_width="80dip"
|
|
|
|
android:layout_height="48dip"
|
|
|
|
android:src="@drawable/ic_sysbar_lights_out_dot_large"
|
|
|
|
android:layout_toRightOf="@+id/dot0"
|
2010-11-19 14:47:59 -05:00
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
/>
|
|
|
|
<ImageView
|
2010-12-14 12:14:53 -05:00
|
|
|
android:id="@+id/dot2"
|
|
|
|
android:layout_width="80dip"
|
|
|
|
android:layout_height="48dip"
|
|
|
|
android:src="@drawable/ic_sysbar_lights_out_dot_small"
|
|
|
|
android:layout_toRightOf="@+id/dot1"
|
2010-11-19 14:47:59 -05:00
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
/>
|
|
|
|
<ImageView
|
2010-12-14 12:14:53 -05:00
|
|
|
android:id="@+id/dot3"
|
|
|
|
android:layout_width="80dip"
|
|
|
|
android:layout_height="48dip"
|
|
|
|
android:src="@drawable/ic_sysbar_lights_out_dot_small"
|
|
|
|
android:layout_alignParentRight="true"
|
2010-11-19 14:47:59 -05:00
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
/>
|
|
|
|
</RelativeLayout>
|
2010-12-14 12:14:53 -05:00
|
|
|
</FrameLayout>
|
2010-11-17 16:51:26 -05:00
|
|
|
</com.android.systemui.statusbar.tablet.TabletStatusBarView>
|