| Joe Onorato | 808182d | 2010-07-09 18:52:06 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| Joe Onorato | ef1e776 | 2010-09-17 18:38:38 -0400 | [diff] [blame] | 3 | * Copyright (C) 2010 The Android Open Source Project |
| 4 | * |
| 5 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | * you may not use this file except in compliance with the License. |
| 7 | * You may obtain a copy of the License at |
| 8 | * |
| 9 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | * |
| 11 | * Unless required by applicable law or agreed to in writing, software |
| 12 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | * See the License for the specific language governing permissions and |
| 15 | * limitations under the License. |
| Joe Onorato | 808182d | 2010-07-09 18:52:06 -0400 | [diff] [blame] | 16 | --> |
| 17 | |
| Daniel Sandler | 0ad460b | 2010-12-14 12:14:53 -0500 | [diff] [blame] | 18 | <!-- TabletStatusBarView extends FrameLayout --> |
| Joe Onorato | b62ac12 | 2010-09-20 16:16:32 -0400 | [diff] [blame] | 19 | <com.android.systemui.statusbar.tablet.TabletStatusBarView |
| Joe Onorato | 808182d | 2010-07-09 18:52:06 -0400 | [diff] [blame] | 20 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 21 | xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui" |
| 22 | android:background="@drawable/status_bar_background" |
| Joe Onorato | 808182d | 2010-07-09 18:52:06 -0400 | [diff] [blame] | 23 | > |
| Daniel Sandler | 0ad460b | 2010-12-14 12:14:53 -0500 | [diff] [blame] | 24 | |
| 25 | <FrameLayout |
| 26 | android:id="@+id/bar_contents_holder" |
| Daniel Sandler | ce70d91 | 2010-09-02 11:59:41 -0400 | [diff] [blame] | 27 | android:layout_width="match_parent" |
| Joe Onorato | dc10030 | 2011-01-11 17:07:41 -0800 | [diff] [blame] | 28 | android:layout_height="@*android:dimen/status_bar_height" |
| 29 | android:layout_gravity="bottom" |
| Daniel Sandler | ce70d91 | 2010-09-02 11:59:41 -0400 | [diff] [blame] | 30 | > |
| Daniel Sandler | 0ad460b | 2010-12-14 12:14:53 -0500 | [diff] [blame] | 31 | <RelativeLayout |
| 32 | android:id="@+id/bar_contents" |
| 33 | android:layout_width="match_parent" |
| Daniel Sandler | 764b4da | 2010-08-24 16:24:35 -0400 | [diff] [blame] | 34 | android:layout_height="match_parent" |
| Daniel Sandler | b8027d8 | 2010-12-16 19:35:54 -0500 | [diff] [blame] | 35 | android:animateLayoutChanges="true" |
| Joe Onorato | fd52b18 | 2010-11-10 18:00:52 -0800 | [diff] [blame] | 36 | > |
| Daniel Sandler | 0ad460b | 2010-12-14 12:14:53 -0500 | [diff] [blame] | 37 | |
| 38 | <!-- notification icons & panel access --> |
| 39 | <include layout="@layout/status_bar_notification_area" |
| satok | 9b40747 | 2010-12-07 14:36:51 +0900 | [diff] [blame] | 40 | android:layout_width="wrap_content" |
| 41 | android:layout_height="match_parent" |
| Daniel Sandler | 0ad460b | 2010-12-14 12:14:53 -0500 | [diff] [blame] | 42 | android:layout_alignParentRight="true" |
| satok | 9b40747 | 2010-12-07 14:36:51 +0900 | [diff] [blame] | 43 | /> |
| Daniel Sandler | 0ad460b | 2010-12-14 12:14:53 -0500 | [diff] [blame] | 44 | |
| 45 | <!-- navigation controls --> |
| 46 | <LinearLayout |
| 47 | android:id="@+id/navigationArea" |
| Joe Onorato | fd52b18 | 2010-11-10 18:00:52 -0800 | [diff] [blame] | 48 | android:layout_width="wrap_content" |
| 49 | android:layout_height="match_parent" |
| Daniel Sandler | 0ad460b | 2010-12-14 12:14:53 -0500 | [diff] [blame] | 50 | android:layout_alignParentLeft="true" |
| Joe Onorato | fd52b18 | 2010-11-10 18:00:52 -0800 | [diff] [blame] | 51 | android:orientation="horizontal" |
| 52 | > |
| Daniel Sandler | 0ad460b | 2010-12-14 12:14:53 -0500 | [diff] [blame] | 53 | |
| 54 | <com.android.systemui.statusbar.policy.KeyButtonView android:id="@+id/back" |
| 55 | android:layout_width="80dip" |
| 56 | android:layout_height="match_parent" |
| 57 | android:src="@drawable/ic_sysbar_back" |
| 58 | systemui:keyCode="4" |
| Joe Onorato | fd52b18 | 2010-11-10 18:00:52 -0800 | [diff] [blame] | 59 | /> |
| Daniel Sandler | 0ad460b | 2010-12-14 12:14:53 -0500 | [diff] [blame] | 60 | <com.android.systemui.statusbar.policy.KeyButtonView android:id="@+id/home" |
| 61 | android:layout_width="80dip" |
| Daniel Sandler | 051dccf | 2010-11-18 13:54:18 -0500 | [diff] [blame] | 62 | android:layout_height="match_parent" |
| Daniel Sandler | 0ad460b | 2010-12-14 12:14:53 -0500 | [diff] [blame] | 63 | android:src="@drawable/ic_sysbar_home" |
| 64 | systemui:keyCode="3" |
| Daniel Sandler | 3e8f5a2 | 2010-12-03 14:52:10 -0500 | [diff] [blame] | 65 | /> |
| Daniel Sandler | 0ad460b | 2010-12-14 12:14:53 -0500 | [diff] [blame] | 66 | <ImageView android:id="@+id/recent_apps" |
| 67 | android:layout_width="80dip" |
| Daniel Sandler | b6d3dc6 | 2010-11-17 16:51:26 -0500 | [diff] [blame] | 68 | android:layout_height="match_parent" |
| Daniel Sandler | 0ad460b | 2010-12-14 12:14:53 -0500 | [diff] [blame] | 69 | android:src="@drawable/ic_sysbar_recent" |
| 70 | /> |
| 71 | <com.android.systemui.statusbar.policy.KeyButtonView android:id="@+id/menu" |
| 72 | android:layout_width="80dip" |
| 73 | android:layout_height="match_parent" |
| 74 | android:src="@drawable/ic_sysbar_menu" |
| 75 | systemui:keyCode="82" |
| 76 | android:visibility="invisible" |
| 77 | /> |
| Joe Onorato | fd52b18 | 2010-11-10 18:00:52 -0800 | [diff] [blame] | 78 | </LinearLayout> |
| Joe Onorato | 808182d | 2010-07-09 18:52:06 -0400 | [diff] [blame] | 79 | |
| Daniel Sandler | 0ad460b | 2010-12-14 12:14:53 -0500 | [diff] [blame] | 80 | <!-- fake space bar zone --> |
| Joe Onorato | 020460b | 2011-01-19 15:25:55 -0800 | [diff] [blame] | 81 | <com.android.systemui.statusbar.policy.EventHole android:id="@+id/fake_space_bar" |
| Joe Onorato | ea70e63 | 2010-09-27 17:59:37 -0700 | [diff] [blame] | 82 | android:layout_height="match_parent" |
| Joe Onorato | 020460b | 2011-01-19 15:25:55 -0800 | [diff] [blame] | 83 | android:layout_width="0dp" |
| Daniel Sandler | 0ad460b | 2010-12-14 12:14:53 -0500 | [diff] [blame] | 84 | android:paddingLeft="8dip" |
| 85 | android:paddingRight="8dip" |
| 86 | android:layout_toRightOf="@+id/navigationArea" |
| 87 | android:layout_toLeftOf="@+id/notificationArea" |
| Daniel Sandler | b960699 | 2010-11-19 14:47:59 -0500 | [diff] [blame] | 88 | android:visibility="gone" |
| Daniel Sandler | b960699 | 2010-11-19 14:47:59 -0500 | [diff] [blame] | 89 | /> |
| 90 | </RelativeLayout> |
| Daniel Sandler | 0ad460b | 2010-12-14 12:14:53 -0500 | [diff] [blame] | 91 | </FrameLayout> |
| Daniel Sandler | 10163c6 | 2010-12-08 11:51:05 -0500 | [diff] [blame] | 92 | |
| Daniel Sandler | 0ad460b | 2010-12-14 12:14:53 -0500 | [diff] [blame] | 93 | <FrameLayout |
| 94 | android:id="@+id/bar_shadow_holder" |
| 95 | android:layout_width="match_parent" |
| Joe Onorato | dc10030 | 2011-01-11 17:07:41 -0800 | [diff] [blame] | 96 | android:layout_height="@*android:dimen/status_bar_height" |
| 97 | android:layout_gravity="bottom" |
| Daniel Sandler | 0ad460b | 2010-12-14 12:14:53 -0500 | [diff] [blame] | 98 | > |
| 99 | <!-- lights out shade --> |
| 100 | <RelativeLayout |
| 101 | android:id="@+id/bar_shadow" |
| Daniel Sandler | 10163c6 | 2010-12-08 11:51:05 -0500 | [diff] [blame] | 102 | android:layout_width="match_parent" |
| Daniel Sandler | 0ad460b | 2010-12-14 12:14:53 -0500 | [diff] [blame] | 103 | android:layout_height="match_parent" |
| 104 | android:background="#FF000000" |
| Daniel Sandler | 10163c6 | 2010-12-08 11:51:05 -0500 | [diff] [blame] | 105 | android:visibility="gone" |
| Daniel Sandler | 0ad460b | 2010-12-14 12:14:53 -0500 | [diff] [blame] | 106 | > |
| 107 | <ImageView |
| 108 | android:id="@+id/dot0" |
| 109 | android:layout_width="80dip" |
| 110 | android:layout_height="48dip" |
| 111 | android:src="@drawable/ic_sysbar_lights_out_dot_small" |
| 112 | android:layout_alignParentLeft="true" |
| 113 | android:layout_alignParentBottom="true" |
| 114 | /> |
| 115 | <ImageView |
| 116 | android:id="@+id/dot1" |
| 117 | android:layout_width="80dip" |
| 118 | android:layout_height="48dip" |
| 119 | android:src="@drawable/ic_sysbar_lights_out_dot_large" |
| 120 | android:layout_toRightOf="@+id/dot0" |
| 121 | android:layout_alignParentBottom="true" |
| 122 | /> |
| 123 | <ImageView |
| 124 | android:id="@+id/dot2" |
| 125 | android:layout_width="80dip" |
| 126 | android:layout_height="48dip" |
| 127 | android:src="@drawable/ic_sysbar_lights_out_dot_small" |
| 128 | android:layout_toRightOf="@+id/dot1" |
| 129 | android:layout_alignParentBottom="true" |
| 130 | /> |
| 131 | <ImageView |
| 132 | android:id="@+id/dot3" |
| 133 | android:layout_width="80dip" |
| 134 | android:layout_height="48dip" |
| 135 | android:src="@drawable/ic_sysbar_lights_out_dot_small" |
| 136 | android:layout_alignParentRight="true" |
| 137 | android:layout_alignParentBottom="true" |
| 138 | /> |
| 139 | </RelativeLayout> |
| 140 | </FrameLayout> |
| Joe Onorato | b62ac12 | 2010-09-20 16:16:32 -0400 | [diff] [blame] | 141 | </com.android.systemui.statusbar.tablet.TabletStatusBarView> |