status_bar_expanded.xml revision a57ae3f43864d3690908b084fdc7c638f45bf6c9
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/* apps/common/assets/default/default/skins/StatusBar.xml
4**
5** Copyright 2006, The Android Open Source Project
6**
7** Licensed under the Apache License, Version 2.0 (the "License"); 
8** you may not use this file except in compliance with the License. 
9** You may obtain a copy of the License at 
10**
11**     http://www.apache.org/licenses/LICENSE-2.0 
12**
13** Unless required by applicable law or agreed to in writing, software 
14** distributed under the License is distributed on an "AS IS" BASIS, 
15** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
16** See the License for the specific language governing permissions and 
17** limitations under the License.
18*/
19-->
20
21<com.android.systemui.statusbar.ExpandedView xmlns:android="http://schemas.android.com/apk/res/android"
22    android:orientation="vertical"
23    android:focusable="true"
24    android:descendantFocusability="afterDescendants"
25    >
26
27    <LinearLayout
28        android:layout_width="match_parent"
29        android:layout_height="wrap_content"
30        android:orientation="horizontal"
31        android:paddingTop="3dp"
32        android:paddingBottom="5dp"
33        android:paddingRight="3dp"
34        android:background="@drawable/title_bar_portrait"
35        >
36        <com.android.systemui.statusbar.CarrierLabel
37            android:layout_width="0dp"
38            android:layout_height="wrap_content"
39            android:layout_weight="1"
40            android:layout_marginTop="1dp"
41            android:layout_marginLeft="5dp"
42            android:layout_gravity="center_vertical"
43            android:paddingBottom="1dp"
44            android:paddingLeft="4dp"
45            android:textAppearance="?android:attr/textAppearanceLarge"
46            android:textColor="#ffdfdfdf"
47            />
48        <TextView android:id="@+id/clear_all_button"
49            android:layout_width="wrap_content"
50            android:layout_height="wrap_content"
51            android:layout_gravity="center_vertical"
52            android:layout_marginTop="4dp"
53            android:layout_marginBottom="1dp"
54            android:textSize="14sp"
55            android:textColor="#ff000000"
56            android:text="@string/status_bar_clear_all_button"
57            style="?android:attr/buttonStyle"
58            android:paddingLeft="15dp"
59            android:paddingRight="15dp"
60            android:background="@android:drawable/btn_default_small"
61            />
62    </LinearLayout>
63
64    <FrameLayout
65        android:layout_width="match_parent" 
66        android:layout_height="wrap_content"
67        android:layout_weight="1"
68        >
69        <ScrollView
70            android:id="@+id/scroll"
71            android:layout_width="match_parent"
72            android:layout_height="match_parent"
73            android:fadingEdge="none"
74            android:overscrollMode="ifContentScrolls"
75            >
76            <com.android.systemui.statusbar.NotificationLinearLayout
77                android:id="@+id/notificationLinearLayout"
78                android:layout_width="match_parent"
79                android:layout_height="wrap_content"
80                android:orientation="vertical"
81                >
82                
83                <TextView android:id="@+id/noNotificationsTitle"
84                    android:layout_width="match_parent"
85                    android:layout_height="wrap_content"
86                    android:background="@drawable/shade_bgcolor"
87                    android:paddingLeft="5dp"
88                    android:textAppearance="@style/TextAppearance.StatusBar.Title"
89                    android:text="@string/status_bar_no_notifications_title"
90                    />
91
92                <TextView android:id="@+id/ongoingTitle"
93                    android:layout_width="match_parent"
94                    android:layout_height="wrap_content"
95                    android:background="@drawable/shade_bgcolor"
96                    android:paddingLeft="5dp"
97                    android:textAppearance="@style/TextAppearance.StatusBar.Title"
98                    android:text="@string/status_bar_ongoing_events_title"
99                    />
100                <LinearLayout android:id="@+id/ongoingItems"
101                    android:layout_width="match_parent"
102                    android:layout_height="wrap_content"
103                    android:orientation="vertical"
104                    />
105
106                <TextView android:id="@+id/latestTitle"
107                    android:layout_width="match_parent"
108                    android:layout_height="wrap_content"
109                    android:background="@drawable/shade_bgcolor"
110                    android:paddingLeft="5dp"
111                    android:textAppearance="@style/TextAppearance.StatusBar.Title"
112                    android:text="@string/status_bar_latest_events_title"
113                    />
114                <LinearLayout android:id="@+id/latestItems"
115                    android:layout_width="match_parent"
116                    android:layout_height="wrap_content"
117                    android:orientation="vertical"
118                    />
119            </com.android.systemui.statusbar.NotificationLinearLayout>
120        </ScrollView>
121
122        <ImageView
123            android:layout_width="match_parent"
124            android:layout_height="match_parent"
125            android:src="@drawable/title_bar_shadow"
126            android:scaleType="fitXY"
127        />
128
129    </FrameLayout>
130</com.android.systemui.statusbar.ExpandedView>
131