summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/res/layout-xlarge/status_bar.xml
blob: a6e5c89095ff62f420027dc61e0018c3ea627e70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
<?xml version="1.0" encoding="utf-8"?>
<!--
 * 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.
-->

<!--    android:background="@drawable/status_bar_closed_default_background" -->
<com.android.systemui.statusbar.tablet.TabletStatusBarView
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui"
    android:background="@drawable/status_bar_background"
    >
    <RelativeLayout
        android:id="@+id/bar_contents"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:animateLayoutChanges="true"
        >

        <FrameLayout
            android:id="@+id/ticker"
            android:layout_width="wrap_content"
            android:layout_height="match_parent"
            android:layout_alignParentRight="true"
            android:layout_toRightOf="@+id/systemInfo"
            android:paddingLeft="6dip"
            android:gravity="center_vertical"
            android:animateLayoutChanges="true"
            />

        <LinearLayout
            android:id="@+id/notificationArea"
            android:layout_width="wrap_content"
            android:layout_height="match_parent"
            android:layout_alignParentRight="true"
            android:orientation="horizontal"
            >
            <com.android.systemui.statusbar.tablet.NotificationIconArea
                android:id="@+id/notificationIcons"
                android:layout_width="wrap_content"
                android:layout_height="match_parent"
                android:gravity="center_vertical"
                android:orientation="horizontal"
                >
                <view
                    class="com.android.systemui.statusbar.tablet.NotificationIconArea$IconLayout"
                    android:id="@+id/icons"
                    android:layout_width="wrap_content"
                    android:layout_height="@*android:dimen/status_bar_icon_size"
                    android:layout_marginLeft="8dip"
                    />
            </com.android.systemui.statusbar.tablet.NotificationIconArea>

            <LinearLayout
                android:id="@+id/notificationTrigger"
                android:layout_width="wrap_content"
                android:layout_height="match_parent"
                >
                <com.android.systemui.statusbar.policy.Clock
                    style="@*android:style/TextAppearance.StatusBar.Icon"
                    android:id="@+id/clock"
                    android:layout_width="64dip"
                    android:layout_height="48dip"
                    android:singleLine="true"
                    android:gravity="center"
                    android:textSize="16sp"
                    android:textStyle="bold"
                    android:padding="2dip"
                    />
                <ImageView
                    android:id="@+id/battery"
                    android:layout_height="wrap_content"
                    android:layout_width="wrap_content"
                    android:layout_gravity="center_vertical"
                    />
                <ImageView
                    android:id="@+id/network"
                    android:layout_height="wrap_content"
                    android:layout_width="wrap_content"
                    android:layout_gravity="center_vertical"
                    android:src="@drawable/ic_sysbar_wifi_mini"
                    />
            </LinearLayout>
        </LinearLayout>

        <LinearLayout
            android:id="@+id/navigationArea"
            android:layout_width="wrap_content"
            android:layout_height="match_parent"
            android:layout_alignParentLeft="true"
            android:orientation="horizontal"
            android:animateLayoutChanges="true"
            >

            <com.android.systemui.statusbar.policy.KeyButtonView android:id="@+id/back"
                android:layout_width="wrap_content"
                android:layout_height="match_parent"
                android:paddingLeft="15dip"
                android:paddingRight="15dip"
                android:src="@drawable/ic_sysbar_back"
                android:background="@drawable/ic_sysbar_icon_bg"
                systemui:keyCode="4"
                />
            <com.android.systemui.statusbar.policy.KeyButtonView android:id="@+id/home"
                android:layout_width="wrap_content"
                android:layout_height="match_parent"
                android:paddingLeft="15dip"
                android:paddingRight="15dip"
                android:src="@drawable/ic_sysbar_home"
                android:background="@drawable/ic_sysbar_icon_bg"
                systemui:keyCode="3"
                />
            <ImageButton android:id="@+id/recent_apps"
                android:layout_width="wrap_content"
                android:layout_height="match_parent"
                android:src="@drawable/ic_sysbar_recent"
                android:background="@drawable/ic_sysbar_icon_bg"
                android:paddingLeft="15dip"
                android:paddingRight="15dip"
                />
            <com.android.systemui.statusbar.policy.KeyButtonView android:id="@+id/menu"
                android:layout_width="wrap_content"
                android:layout_height="match_parent"
                android:paddingLeft="15dip"
                android:paddingRight="15dip"
                android:src="@drawable/ic_sysbar_menu"
                android:background="@drawable/ic_sysbar_icon_bg"
                systemui:keyCode="82"
                android:visibility="invisible"
                />
            <com.android.systemui.statusbar.tablet.ShirtPocket
                android:id="@+id/pocket"
                android:layout_width="71dip"
                android:layout_height="match_parent"
                android:background="@drawable/ic_sysbar_icon_bg"
                android:paddingLeft="15dip"
                android:paddingRight="15dip"
                android:animateLayoutChanges="true"
                android:clickable="true"
                android:descendantFocusability="blocksDescendants"
                android:gravity="center"
                >
                <ImageView 
                    android:id="@+id/pocket_icon"
                    android:src="@drawable/ic_sysbar_pocket"
                    android:visibility="invisible"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:gravity="center"
                    />
            </com.android.systemui.statusbar.tablet.ShirtPocket>
            <com.android.systemui.statusbar.tablet.InputMethodButton
                android:id="@+id/imeButton"
                android:layout_width="wrap_content"
                android:layout_height="match_parent"
                android:layout_marginLeft="8dip"
                android:src="@drawable/ic_sysbar_ime_default"
                android:background="@drawable/ic_sysbar_icon_bg"
                android:visibility="invisible"
                />
        </LinearLayout>
    </RelativeLayout>

    <!-- It's curtains for you. -->
    <ImageView
        android:id="@+id/lights_out"
        android:src="@drawable/ic_sysbar_lightsout"
        android:gravity="center"
        android:background="#FF000000"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:visibility="invisible"
        android:clickable="true"
        />
</com.android.systemui.statusbar.tablet.TabletStatusBarView>