• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 -->
19<com.android.systemui.statusbar.tablet.NotificationArea
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"
25    android:layout_alignParentRight="true"
26    android:orientation="horizontal"
27    android:background="?android:attr/listChoiceBackgroundIndicator"
28    android:clickable="true"
29    >
30
31    <LinearLayout
32        android:id="@+id/feedbackIconArea"
33        android:layout_width="wrap_content"
34        android:layout_height="match_parent"
35        android:orientation="horizontal"
36        >
37
38        <com.android.systemui.statusbar.tablet.InputMethodButton
39            android:id="@+id/imeSwitchButton"
40            android:layout_width="wrap_content"
41            android:layout_height="match_parent"
42            android:layout_marginLeft="8dip"
43            android:src="@drawable/ic_sysbar_ime_default"
44            android:visibility="gone"
45            android:contentDescription="@string/accessibility_ime_switch_button"
46            />
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"
52            android:layout_marginLeft="8dip"
53            android:src="@drawable/ic_sysbar_zoom"
54            android:visibility="gone"
55            android:contentDescription="@string/accessibility_compatibility_zoom_button"
56            />
57
58        <com.android.systemui.statusbar.tablet.NotificationIconArea
59            android:id="@+id/notificationIcons"
60            android:layout_width="wrap_content"
61            android:layout_height="match_parent"
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"
69                android:layout_marginLeft="8dp"
70                android:alpha="0.4"
71                />
72        </com.android.systemui.statusbar.tablet.NotificationIconArea>
73    </LinearLayout>
74
75    <LinearLayout
76        android:id="@+id/notificationTrigger"
77        android:layout_width="wrap_content"
78        android:layout_height="match_parent"
79        android:gravity="center"
80        >
81        <com.android.systemui.statusbar.tablet.HoloClock
82            android:id="@+id/clock"
83            android:layout_width="wrap_content"
84            android:layout_height="wrap_content"
85            android:layout_marginBottom="3dip"
86            android:layout_marginLeft="8dip"
87            android:layout_marginRight="4dip"
88            >
89            <TextView android:id="@+id/time_solid"
90                android:layout_width="wrap_content"
91                android:layout_height="wrap_content"
92                android:textAppearance="@style/TextAppearance.StatusBar.Clock"
93                android:singleLine="true"
94                android:textSize="40sp"
95                />
96        </com.android.systemui.statusbar.tablet.HoloClock>
97
98        <TextView
99            android:id="@+id/network_text"
100            android:layout_width="wrap_content"
101            android:layout_height="match_parent"
102            android:layout_marginRight="6dip"
103            android:layout_marginLeft="6dip"
104            android:gravity="center"
105            android:singleLine="true"
106            android:visibility="gone"
107            android:textSize="16sp"
108            android:textColor="#606060"
109            />
110
111        <LinearLayout
112            android:id="@+id/signal_battery_cluster"
113            android:layout_width="wrap_content"
114            android:layout_height="match_parent"
115            android:layout_marginRight="16dp"
116            android:orientation="horizontal"
117            android:gravity="center"
118            >
119            <ImageView
120                android:id="@+id/bluetooth"
121                android:layout_height="wrap_content"
122                android:layout_width="wrap_content"
123                android:visibility="gone"
124                />
125            <include layout="@layout/signal_cluster_view"
126                android:id="@+id/signal_cluster"
127                android:layout_width="wrap_content"
128                android:layout_height="wrap_content"
129                />
130            <ImageView
131                android:id="@+id/battery"
132                android:layout_height="wrap_content"
133                android:layout_width="wrap_content"
134                android:paddingLeft="6dip"
135                />
136        </LinearLayout>
137    </LinearLayout>
138</com.android.systemui.statusbar.tablet.NotificationArea>
139