• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/* apps/common/assets/default/default/skins/StatusBar.xml
4**
5** Copyright 2011, 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<!-- extends LinearLayout -->
21<com.android.systemui.statusbar.SignalClusterView
22    xmlns:android="http://schemas.android.com/apk/res/android"
23    xmlns:systemui="http://schemas.android.com/apk/res-auto"
24    android:layout_height="match_parent"
25    android:layout_width="wrap_content"
26    android:gravity="center_vertical"
27    android:orientation="horizontal"
28    android:paddingEnd="@dimen/signal_cluster_battery_padding"
29    >
30    <ImageView
31        android:id="@+id/vpn"
32        android:layout_height="wrap_content"
33        android:layout_width="wrap_content"
34        android:paddingEnd="6dp"
35        android:src="@drawable/stat_sys_vpn_ic"
36        />
37    <FrameLayout
38        android:id="@+id/ethernet_combo"
39        android:layout_height="wrap_content"
40        android:layout_width="wrap_content"
41        >
42        <com.android.systemui.statusbar.AlphaOptimizedImageView
43            android:theme="@style/DualToneLightTheme"
44            android:id="@+id/ethernet"
45            android:layout_height="wrap_content"
46            android:layout_width="wrap_content"
47            systemui:hasOverlappingRendering="false"
48            />
49        <com.android.systemui.statusbar.AlphaOptimizedImageView
50            android:theme="@style/DualToneDarkTheme"
51            android:id="@+id/ethernet_dark"
52            android:layout_height="wrap_content"
53            android:layout_width="wrap_content"
54            android:alpha="0.0"
55            systemui:hasOverlappingRendering="false"
56            />
57    </FrameLayout>
58    <FrameLayout
59        android:id="@+id/wifi_combo"
60        android:layout_height="wrap_content"
61        android:layout_width="wrap_content"
62        >
63        <com.android.systemui.statusbar.AlphaOptimizedImageView
64            android:theme="@style/DualToneLightTheme"
65            android:id="@+id/wifi_signal"
66            android:layout_height="wrap_content"
67            android:layout_width="wrap_content"
68            systemui:hasOverlappingRendering="false"
69            />
70        <com.android.systemui.statusbar.AlphaOptimizedImageView
71            android:theme="@style/DualToneDarkTheme"
72            android:id="@+id/wifi_signal_dark"
73            android:layout_height="wrap_content"
74            android:layout_width="wrap_content"
75            android:alpha="0.0"
76            systemui:hasOverlappingRendering="false"
77            />
78    </FrameLayout>
79    <View
80        android:id="@+id/wifi_signal_spacer"
81        android:layout_width="4dp"
82        android:layout_height="4dp"
83        android:visibility="gone"
84        />
85    <LinearLayout
86        android:id="@+id/mobile_signal_group"
87        android:layout_height="wrap_content"
88        android:layout_width="wrap_content"
89        >
90    </LinearLayout>
91    <FrameLayout
92        android:id="@+id/no_sims_combo"
93        android:layout_height="wrap_content"
94        android:layout_width="wrap_content"
95        android:contentDescription="@string/accessibility_no_sims">
96        <com.android.systemui.statusbar.AlphaOptimizedImageView
97            android:theme="@style/DualToneLightTheme"
98            android:id="@+id/no_sims"
99            android:layout_height="wrap_content"
100            android:layout_width="wrap_content"
101            android:src="@drawable/stat_sys_no_sims"
102            systemui:hasOverlappingRendering="false"
103            />
104        <com.android.systemui.statusbar.AlphaOptimizedImageView
105            android:theme="@style/DualToneDarkTheme"
106            android:id="@+id/no_sims_dark"
107            android:layout_height="wrap_content"
108            android:layout_width="wrap_content"
109            android:src="@drawable/stat_sys_no_sims"
110            android:alpha="0.0"
111            systemui:hasOverlappingRendering="false"
112            />
113    </FrameLayout>
114    <View
115        android:id="@+id/wifi_airplane_spacer"
116        android:layout_width="4dp"
117        android:layout_height="4dp"
118        android:visibility="gone"
119        />
120    <ImageView
121        android:id="@+id/airplane"
122        android:layout_height="wrap_content"
123        android:layout_width="wrap_content"
124        />
125</com.android.systemui.statusbar.SignalClusterView>
126