86 lines
3.4 KiB
XML
86 lines
3.4 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<!--
|
||
|
~ Copyright (C) 2018 The Android Open Source Project
|
||
|
~
|
||
|
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||
|
~ you may not use this file except in compliance with the License.
|
||
|
~ You may obtain a copy of the License at
|
||
|
~
|
||
|
~ http://www.apache.org/licenses/LICENSE-2.0
|
||
|
~
|
||
|
~ Unless required by applicable law or agreed to in writing, software
|
||
|
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||
|
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||
|
~ See the License for the specific language governing permissions and
|
||
|
~ limitations under the License
|
||
|
-->
|
||
|
<com.android.systemui.statusbar.StatusBarWifiView
|
||
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
xmlns:systemui="http://schemas.android.com/apk/res-auto"
|
||
|
android:id="@+id/wifi_combo"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="match_parent"
|
||
|
android:gravity="center_vertical">
|
||
|
|
||
|
<com.android.keyguard.AlphaOptimizedLinearLayout
|
||
|
android:id="@+id/wifi_group"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="match_parent"
|
||
|
android:paddingStart="2dp"
|
||
|
android:gravity="center_vertical"
|
||
|
>
|
||
|
<FrameLayout
|
||
|
android:id="@+id/inout_container"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="17dp"
|
||
|
android:gravity="center_vertical">
|
||
|
<ImageView
|
||
|
android:id="@+id/wifi_in"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:paddingEnd="2dp"
|
||
|
android:src="@drawable/ic_activity_down"
|
||
|
android:visibility="gone"
|
||
|
/>
|
||
|
<ImageView
|
||
|
android:id="@+id/wifi_out"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:paddingEnd="2dp"
|
||
|
android:src="@drawable/ic_activity_up"
|
||
|
android:visibility="gone"
|
||
|
/>
|
||
|
</FrameLayout>
|
||
|
<FrameLayout
|
||
|
android:id="@+id/wifi_combo"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:gravity="center_vertical">
|
||
|
<com.android.systemui.statusbar.AlphaOptimizedImageView
|
||
|
android:id="@+id/wifi_signal"
|
||
|
android:layout_width="@*android:dimen/status_bar_system_icon_size"
|
||
|
android:layout_height="@*android:dimen/status_bar_system_icon_size"
|
||
|
android:theme="?attr/lightIconTheme"/>
|
||
|
</FrameLayout>
|
||
|
|
||
|
<View
|
||
|
android:id="@+id/wifi_signal_spacer"
|
||
|
android:layout_width="@dimen/status_bar_wifi_signal_spacer_width"
|
||
|
android:layout_height="4dp"
|
||
|
android:visibility="gone"/>
|
||
|
|
||
|
<ViewStub
|
||
|
android:id="@+id/connected_device_signals_stub"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout="@layout/connected_device_signal"/>
|
||
|
|
||
|
<View
|
||
|
android:id="@+id/wifi_airplane_spacer"
|
||
|
android:layout_width="@dimen/status_bar_airplane_spacer_width"
|
||
|
android:layout_height="4dp"
|
||
|
android:visibility="gone"
|
||
|
/>
|
||
|
</com.android.keyguard.AlphaOptimizedLinearLayout>
|
||
|
</com.android.systemui.statusbar.StatusBarWifiView>
|