1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- 3 ** 4 ** Copyright 2018, 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 <com.android.systemui.statusbar.StatusBarWifiView 20 xmlns:android="http://schemas.android.com/apk/res/android" 21 xmlns:systemui="http://schemas.android.com/apk/res-auto" 22 android:id="@+id/wifi_combo" 23 android:layout_width="wrap_content" 24 android:layout_height="match_parent" 25 android:gravity="center_vertical" > 26 27 <com.android.keyguard.AlphaOptimizedLinearLayout 28 android:id="@+id/wifi_group" 29 android:layout_width="wrap_content" 30 android:layout_height="match_parent" 31 android:gravity="center_vertical" 32 android:layout_marginStart="2.5dp" 33 > 34 <FrameLayout 35 android:id="@+id/inout_container" 36 android:layout_height="17dp" 37 android:layout_width="wrap_content" 38 android:gravity="center_vertical" > 39 <ImageView 40 android:id="@+id/wifi_in" 41 android:layout_height="wrap_content" 42 android:layout_width="wrap_content" 43 android:src="@drawable/ic_activity_down" 44 android:visibility="gone" 45 android:paddingEnd="2dp" 46 /> 47 <ImageView 48 android:id="@+id/wifi_out" 49 android:layout_height="wrap_content" 50 android:layout_width="wrap_content" 51 android:src="@drawable/ic_activity_up" 52 android:paddingEnd="2dp" 53 android:visibility="gone" 54 /> 55 </FrameLayout> 56 <FrameLayout 57 android:id="@+id/wifi_combo" 58 android:layout_height="wrap_content" 59 android:layout_width="wrap_content" 60 android:gravity="center_vertical" > 61 <com.android.systemui.statusbar.AlphaOptimizedImageView 62 android:theme="?attr/lightIconTheme" 63 android:id="@+id/wifi_signal" 64 android:layout_height="wrap_content" 65 android:layout_width="wrap_content" /> 66 </FrameLayout> 67 68 <View 69 android:id="@+id/wifi_signal_spacer" 70 android:layout_width="@dimen/status_bar_wifi_signal_spacer_width" 71 android:layout_height="4dp" 72 android:visibility="gone" /> 73 74 <!-- Looks like CarStatusBar uses this... --> 75 <ViewStub 76 android:id="@+id/connected_device_signals_stub" 77 android:layout="@layout/connected_device_signal" 78 android:layout_width="wrap_content" 79 android:layout_height="wrap_content" /> 80 81 <View 82 android:id="@+id/wifi_airplane_spacer" 83 android:layout_width="@dimen/status_bar_airplane_spacer_width" 84 android:layout_height="4dp" 85 android:visibility="gone" 86 /> 87 </com.android.keyguard.AlphaOptimizedLinearLayout> 88 </com.android.systemui.statusbar.StatusBarWifiView> 89