Daniel Sandler | 0ad460b | 2010-12-14 12:14:53 -0500 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 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. |
| 16 | --> |
| 17 | |
| 18 | <!-- notification icons & panel access --> |
Svetoslav Ganov | 6179ea3 | 2011-06-28 01:12:41 -0700 | [diff] [blame] | 19 | <com.android.systemui.statusbar.tablet.NotificationArea |
Daniel Sandler | 0ad460b | 2010-12-14 12:14:53 -0500 | [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:id="@+id/notificationArea" |
| 23 | android:layout_width="wrap_content" |
| 24 | android:layout_height="match_parent" |
Fabrice Di Meglio | 8afcd14 | 2012-07-27 18:27:11 -0700 | [diff] [blame] | 25 | android:layout_alignParentEnd="true" |
Daniel Sandler | 0ad460b | 2010-12-14 12:14:53 -0500 | [diff] [blame] | 26 | android:orientation="horizontal" |
Daniel Sandler | 298a2a8 | 2011-08-11 16:13:22 -0400 | [diff] [blame] | 27 | android:background="?android:attr/listChoiceBackgroundIndicator" |
| 28 | android:clickable="true" |
Daniel Sandler | 0ad460b | 2010-12-14 12:14:53 -0500 | [diff] [blame] | 29 | > |
Joe Onorato | ec51a82 | 2011-01-04 16:33:01 -0800 | [diff] [blame] | 30 | |
| 31 | <LinearLayout |
Daniel Sandler | 3b0543a | 2011-06-14 11:30:28 -0400 | [diff] [blame] | 32 | android:id="@+id/feedbackIconArea" |
Daniel Sandler | 0ad460b | 2010-12-14 12:14:53 -0500 | [diff] [blame] | 33 | android:layout_width="wrap_content" |
| 34 | android:layout_height="match_parent" |
| 35 | android:orientation="horizontal" |
| 36 | > |
Joe Onorato | ec51a82 | 2011-01-04 16:33:01 -0800 | [diff] [blame] | 37 | |
| 38 | <com.android.systemui.statusbar.tablet.InputMethodButton |
| 39 | android:id="@+id/imeSwitchButton" |
Daniel Sandler | 0ad460b | 2010-12-14 12:14:53 -0500 | [diff] [blame] | 40 | android:layout_width="wrap_content" |
| 41 | android:layout_height="match_parent" |
Fabrice Di Meglio | 8afcd14 | 2012-07-27 18:27:11 -0700 | [diff] [blame] | 42 | android:layout_marginStart="8dip" |
Joe Onorato | ec51a82 | 2011-01-04 16:33:01 -0800 | [diff] [blame] | 43 | android:src="@drawable/ic_sysbar_ime_default" |
| 44 | android:visibility="gone" |
Svetoslav Ganov | 6179ea3 | 2011-06-28 01:12:41 -0700 | [diff] [blame] | 45 | android:contentDescription="@string/accessibility_ime_switch_button" |
Daniel Sandler | 0ad460b | 2010-12-14 12:14:53 -0500 | [diff] [blame] | 46 | /> |
Daniel Sandler | 3b0543a | 2011-06-14 11:30:28 -0400 | [diff] [blame] | 47 | |
| 48 | <com.android.systemui.statusbar.policy.CompatModeButton |
| 49 | android:id="@+id/compatModeButton" |
| 50 | android:layout_width="wrap_content" |
| 51 | android:layout_height="match_parent" |
Fabrice Di Meglio | 8afcd14 | 2012-07-27 18:27:11 -0700 | [diff] [blame] | 52 | android:layout_marginStart="8dip" |
Daniel Sandler | 3b0543a | 2011-06-14 11:30:28 -0400 | [diff] [blame] | 53 | android:src="@drawable/ic_sysbar_zoom" |
| 54 | android:visibility="gone" |
Svetoslav Ganov | 6179ea3 | 2011-06-28 01:12:41 -0700 | [diff] [blame] | 55 | android:contentDescription="@string/accessibility_compatibility_zoom_button" |
Daniel Sandler | 3b0543a | 2011-06-14 11:30:28 -0400 | [diff] [blame] | 56 | /> |
| 57 | |
Joe Onorato | ec51a82 | 2011-01-04 16:33:01 -0800 | [diff] [blame] | 58 | <com.android.systemui.statusbar.tablet.NotificationIconArea |
| 59 | android:id="@+id/notificationIcons" |
| 60 | android:layout_width="wrap_content" |
| 61 | android:layout_height="match_parent" |
Joe Onorato | ec51a82 | 2011-01-04 16:33:01 -0800 | [diff] [blame] | 62 | > |
| 63 | <view |
| 64 | class="com.android.systemui.statusbar.tablet.NotificationIconArea$IconLayout" |
| 65 | android:id="@+id/icons" |
| 66 | android:layout_width="wrap_content" |
| 67 | android:layout_height="match_parent" |
| 68 | android:layout_gravity="center_vertical" |
Fabrice Di Meglio | 8afcd14 | 2012-07-27 18:27:11 -0700 | [diff] [blame] | 69 | android:layout_marginStart="8dp" |
Daniel Sandler | 298a2a8 | 2011-08-11 16:13:22 -0400 | [diff] [blame] | 70 | android:alpha="0.4" |
Daniel Sandler | 49371ad | 2011-01-27 21:20:51 -0500 | [diff] [blame] | 71 | /> |
Joe Onorato | ec51a82 | 2011-01-04 16:33:01 -0800 | [diff] [blame] | 72 | </com.android.systemui.statusbar.tablet.NotificationIconArea> |
| 73 | </LinearLayout> |
Daniel Sandler | 0ad460b | 2010-12-14 12:14:53 -0500 | [diff] [blame] | 74 | |
| 75 | <LinearLayout |
| 76 | android:id="@+id/notificationTrigger" |
| 77 | android:layout_width="wrap_content" |
| 78 | android:layout_height="match_parent" |
Daniel Sandler | 9b462dc | 2011-01-20 00:26:54 -0500 | [diff] [blame] | 79 | android:gravity="center" |
Daniel Sandler | 0ad460b | 2010-12-14 12:14:53 -0500 | [diff] [blame] | 80 | > |
Chris Wren | 1e8f65d | 2012-06-06 18:08:56 -0400 | [diff] [blame] | 81 | <com.android.systemui.statusbar.policy.Clock |
Daniel Sandler | 0ad460b | 2010-12-14 12:14:53 -0500 | [diff] [blame] | 82 | android:id="@+id/clock" |
Chris Wren | 1e8f65d | 2012-06-06 18:08:56 -0400 | [diff] [blame] | 83 | android:textAppearance="@style/TextAppearance.StatusBar.Clock" |
Daniel Sandler | 0ad460b | 2010-12-14 12:14:53 -0500 | [diff] [blame] | 84 | android:layout_width="wrap_content" |
Chris Wren | 1e8f65d | 2012-06-06 18:08:56 -0400 | [diff] [blame] | 85 | android:layout_height="match_parent" |
| 86 | android:singleLine="true" |
Fabrice Di Meglio | 02c40c2 | 2013-03-08 14:05:28 -0800 | [diff] [blame] | 87 | android:paddingStart="6dip" |
Fabrice Di Meglio | 8afcd14 | 2012-07-27 18:27:11 -0700 | [diff] [blame] | 88 | android:layout_marginEnd="8dip" |
| 89 | android:gravity="center_vertical|start" |
Chris Wren | 1e8f65d | 2012-06-06 18:08:56 -0400 | [diff] [blame] | 90 | /> |
Daniel Sandler | 0ad460b | 2010-12-14 12:14:53 -0500 | [diff] [blame] | 91 | |
| 92 | <TextView |
| 93 | android:id="@+id/network_text" |
| 94 | android:layout_width="wrap_content" |
| 95 | android:layout_height="match_parent" |
Fabrice Di Meglio | 8afcd14 | 2012-07-27 18:27:11 -0700 | [diff] [blame] | 96 | android:layout_marginEnd="6dip" |
| 97 | android:layout_marginStart="6dip" |
Daniel Sandler | 0ad460b | 2010-12-14 12:14:53 -0500 | [diff] [blame] | 98 | android:gravity="center" |
| 99 | android:singleLine="true" |
| 100 | android:visibility="gone" |
Daniel Sandler | bfa8983 | 2011-01-24 15:45:57 -0500 | [diff] [blame] | 101 | android:textSize="16sp" |
Daniel Sandler | 0ad460b | 2010-12-14 12:14:53 -0500 | [diff] [blame] | 102 | android:textColor="#606060" |
| 103 | /> |
| 104 | |
| 105 | <LinearLayout |
| 106 | android:id="@+id/signal_battery_cluster" |
| 107 | android:layout_width="wrap_content" |
| 108 | android:layout_height="match_parent" |
Fabrice Di Meglio | 8afcd14 | 2012-07-27 18:27:11 -0700 | [diff] [blame] | 109 | android:layout_marginEnd="16dp" |
Daniel Sandler | 0ad460b | 2010-12-14 12:14:53 -0500 | [diff] [blame] | 110 | android:orientation="horizontal" |
| 111 | android:gravity="center" |
| 112 | > |
Christian Robertson | 2e34742 | 2011-08-11 14:01:04 -0700 | [diff] [blame] | 113 | <include layout="@layout/signal_cluster_view" |
| 114 | android:id="@+id/signal_cluster" |
| 115 | android:layout_width="wrap_content" |
| 116 | android:layout_height="wrap_content" |
Daniel Sandler | 2b69735 | 2011-07-22 16:23:09 -0400 | [diff] [blame] | 117 | /> |
Daniel Sandler | 0ad460b | 2010-12-14 12:14:53 -0500 | [diff] [blame] | 118 | <ImageView |
Daniel Sandler | 0f167d7 | 2011-10-27 14:58:52 -0400 | [diff] [blame] | 119 | android:id="@+id/bluetooth" |
| 120 | android:layout_height="wrap_content" |
| 121 | android:layout_width="wrap_content" |
Fabrice Di Meglio | 02c40c2 | 2013-03-08 14:05:28 -0800 | [diff] [blame] | 122 | android:paddingStart="4dip" |
Daniel Sandler | 0f167d7 | 2011-10-27 14:58:52 -0400 | [diff] [blame] | 123 | android:visibility="gone" |
| 124 | /> |
| 125 | <ImageView |
Daniel Sandler | 0ad460b | 2010-12-14 12:14:53 -0500 | [diff] [blame] | 126 | android:id="@+id/battery" |
| 127 | android:layout_height="wrap_content" |
| 128 | android:layout_width="wrap_content" |
Fabrice Di Meglio | 02c40c2 | 2013-03-08 14:05:28 -0800 | [diff] [blame] | 129 | android:paddingStart="4dip" |
Daniel Sandler | 0ad460b | 2010-12-14 12:14:53 -0500 | [diff] [blame] | 130 | /> |
| 131 | </LinearLayout> |
| 132 | </LinearLayout> |
Svetoslav Ganov | 6179ea3 | 2011-06-28 01:12:41 -0700 | [diff] [blame] | 133 | </com.android.systemui.statusbar.tablet.NotificationArea> |