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:id="@+id/wifi_signal" 63 android:layout_height="@dimen/status_bar_wifi_signal_size" 64 android:layout_width="@dimen/status_bar_wifi_signal_size" /> 65 </FrameLayout> 66 67 <View 68 android:id="@+id/wifi_signal_spacer" 69 android:layout_width="@dimen/status_bar_wifi_signal_spacer_width" 70 android:layout_height="4dp" 71 android:visibility="gone" /> 72 73 <!-- Looks like CarStatusBar uses this... --> 74 <ViewStub 75 android:id="@+id/connected_device_signals_stub" 76 android:layout="@layout/connected_device_signal" 77 android:layout_width="wrap_content" 78 android:layout_height="wrap_content" /> 79 80 <View 81 android:id="@+id/wifi_airplane_spacer" 82 android:layout_width="@dimen/status_bar_airplane_spacer_width" 83 android:layout_height="4dp" 84 android:visibility="gone" 85 /> 86 </com.android.keyguard.AlphaOptimizedLinearLayout> 87</com.android.systemui.statusbar.StatusBarWifiView> 88