1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3** 4** Copyright 2011, The Android Open Source Project 5** 6** Licensed under the Apache License, Version 2.0 (the "License"); 7** you may not use this file except in compliance with the License. 8** You may obtain a copy of the License at 9** 10** http://www.apache.org/licenses/LICENSE-2.0 11** 12** Unless required by applicable law or agreed to in writing, software 13** distributed under the License is distributed on an "AS IS" BASIS, 14** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15** See the License for the specific language governing permissions and 16** limitations under the License. 17*/ 18--> 19<!-- extends LinearLayout --> 20<com.android.systemui.statusbar.SignalClusterView 21 xmlns:android="http://schemas.android.com/apk/res/android" 22 android:id="@+id/signal_cluster" 23 android:layout_height="match_parent" 24 android:layout_width="wrap_content" 25 android:gravity="center_vertical" 26 android:orientation="horizontal" 27 android:paddingEnd="@dimen/signal_cluster_battery_padding" 28 > 29 <ImageView 30 android:id="@+id/vpn" 31 android:layout_height="wrap_content" 32 android:layout_width="wrap_content" 33 android:paddingEnd="6dp" 34 android:src="@drawable/stat_sys_vpn_ic" 35 android:contentDescription="@string/accessibility_vpn_on" 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="?attr/lightIconTheme" 44 android:id="@+id/ethernet" 45 android:layout_height="wrap_content" 46 android:layout_width="wrap_content" 47 /> 48 <com.android.systemui.statusbar.AlphaOptimizedImageView 49 android:theme="?attr/darkIconTheme" 50 android:id="@+id/ethernet_dark" 51 android:layout_height="wrap_content" 52 android:layout_width="wrap_content" 53 android:alpha="0.0" 54 /> 55 </FrameLayout> 56 <FrameLayout 57 android:layout_height="17dp" 58 android:layout_width="wrap_content"> 59 <ImageView 60 android:id="@+id/wifi_in" 61 android:layout_height="wrap_content" 62 android:layout_width="wrap_content" 63 android:src="@drawable/ic_activity_down" 64 android:visibility="gone" 65 android:paddingEnd="2dp" 66 /> 67 <ImageView 68 android:id="@+id/wifi_out" 69 android:layout_height="wrap_content" 70 android:layout_width="wrap_content" 71 android:src="@drawable/ic_activity_up" 72 android:paddingEnd="2dp" 73 android:visibility="gone" 74 /> 75 </FrameLayout> 76 <FrameLayout 77 android:id="@+id/wifi_combo" 78 android:layout_height="wrap_content" 79 android:layout_width="wrap_content" 80 > 81 <com.android.systemui.statusbar.AlphaOptimizedImageView 82 android:theme="?attr/lightIconTheme" 83 android:id="@+id/wifi_signal" 84 android:layout_height="wrap_content" 85 android:layout_width="wrap_content" 86 /> 87 <com.android.systemui.statusbar.AlphaOptimizedImageView 88 android:theme="?attr/darkIconTheme" 89 android:id="@+id/wifi_signal_dark" 90 android:layout_height="wrap_content" 91 android:layout_width="wrap_content" 92 android:alpha="0.0" 93 /> 94 <ImageView 95 android:id="@+id/wifi_inout" 96 android:layout_height="wrap_content" 97 android:layout_width="wrap_content" 98 /> 99 </FrameLayout> 100 <View 101 android:id="@+id/wifi_signal_spacer" 102 android:layout_width="@dimen/status_bar_wifi_signal_spacer_width" 103 android:layout_height="4dp" 104 android:visibility="gone" 105 /> 106 <ViewStub 107 android:id="@+id/connected_device_signals_stub" 108 android:layout="@layout/connected_device_signal" 109 android:layout_width="wrap_content" 110 android:layout_height="wrap_content" /> 111 <LinearLayout 112 android:id="@+id/mobile_signal_group" 113 android:layout_height="wrap_content" 114 android:layout_width="wrap_content" 115 > 116 </LinearLayout> 117 <FrameLayout 118 android:id="@+id/no_sims_combo" 119 android:layout_height="wrap_content" 120 android:layout_width="wrap_content" 121 android:contentDescription="@string/accessibility_no_sims"> 122 <com.android.systemui.statusbar.AlphaOptimizedImageView 123 android:theme="?attr/lightIconTheme" 124 android:id="@+id/no_sims" 125 android:layout_height="wrap_content" 126 android:layout_width="wrap_content" 127 android:src="@drawable/stat_sys_no_sims" 128 /> 129 <com.android.systemui.statusbar.AlphaOptimizedImageView 130 android:theme="?attr/darkIconTheme" 131 android:id="@+id/no_sims_dark" 132 android:layout_height="wrap_content" 133 android:layout_width="wrap_content" 134 android:src="@drawable/stat_sys_no_sims" 135 android:alpha="0.0" 136 /> 137 </FrameLayout> 138 <View 139 android:id="@+id/wifi_airplane_spacer" 140 android:layout_width="@dimen/status_bar_airplane_spacer_width" 141 android:layout_height="4dp" 142 android:visibility="gone" 143 /> 144 <ImageView 145 android:id="@+id/airplane" 146 android:layout_height="wrap_content" 147 android:layout_width="wrap_content" 148 /> 149</com.android.systemui.statusbar.SignalClusterView> 150