• 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_alignParentEnd="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_marginStart="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_marginStart="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_marginStart="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.policy.Clock
82            android:id="@+id/clock"
83            android:textAppearance="@style/TextAppearance.StatusBar.Clock"
84            android:layout_width="wrap_content"
85            android:layout_height="match_parent"
86            android:singleLine="true"
87            android:paddingStart="6dip"
88            android:layout_marginEnd="8dip"
89            android:gravity="center_vertical|start"
90            />
91
92        <TextView
93            android:id="@+id/network_text"
94            android:layout_width="wrap_content"
95            android:layout_height="match_parent"
96            android:layout_marginEnd="6dip"
97            android:layout_marginStart="6dip"
98            android:gravity="center"
99            android:singleLine="true"
100            android:visibility="gone"
101            android:textSize="16sp"
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"
109            android:layout_marginEnd="16dp"
110            android:orientation="horizontal"
111            android:gravity="center"
112            >
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"
117                />
118            <ImageView
119                android:id="@+id/bluetooth"
120                android:layout_height="wrap_content"
121                android:layout_width="wrap_content"
122                android:paddingStart="4dip"
123                android:visibility="gone"
124                />
125            <ImageView
126                android:id="@+id/battery"
127                android:layout_height="wrap_content"
128                android:layout_width="wrap_content"
129                android:paddingStart="4dip"
130                />
131        </LinearLayout>
132    </LinearLayout>
133</com.android.systemui.statusbar.tablet.NotificationArea>
134