• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2018 The Android Open Source Project
4  ~
5  ~ Licensed under the Apache License, Version 2.0 (the "License");
6  ~ you may not use this file except in compliance with the License.
7  ~ You may obtain a copy of the License at
8  ~
9  ~      http://www.apache.org/licenses/LICENSE-2.0
10  ~
11  ~ Unless required by applicable law or agreed to in writing, software
12  ~ distributed under the License is distributed on an "AS IS" BASIS,
13  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  ~ See the License for the specific language governing permissions and
15  ~ limitations under the License
16  -->
17<com.android.systemui.statusbar.StatusBarWifiView
18    xmlns:android="http://schemas.android.com/apk/res/android"
19    xmlns:systemui="http://schemas.android.com/apk/res-auto"
20    android:id="@+id/wifi_combo"
21    android:layout_width="wrap_content"
22    android:layout_height="match_parent"
23    android:gravity="center_vertical">
24
25    <com.android.keyguard.AlphaOptimizedLinearLayout
26        android:id="@+id/wifi_group"
27        android:layout_width="wrap_content"
28        android:layout_height="match_parent"
29        android:paddingStart="2dp"
30        android:gravity="center_vertical"
31    >
32        <FrameLayout
33            android:id="@+id/inout_container"
34            android:layout_width="wrap_content"
35            android:layout_height="17dp"
36            android:gravity="center_vertical">
37            <ImageView
38                android:id="@+id/wifi_in"
39                android:layout_width="wrap_content"
40                android:layout_height="wrap_content"
41                android:paddingEnd="2dp"
42                android:src="@drawable/ic_activity_down"
43                android:visibility="gone"
44            />
45            <ImageView
46                android:id="@+id/wifi_out"
47                android:layout_width="wrap_content"
48                android:layout_height="wrap_content"
49                android:paddingEnd="2dp"
50                android:src="@drawable/ic_activity_up"
51                android:visibility="gone"
52            />
53        </FrameLayout>
54        <FrameLayout
55            android:id="@+id/wifi_combo"
56            android:layout_width="wrap_content"
57            android:layout_height="wrap_content"
58            android:gravity="center_vertical">
59            <com.android.systemui.statusbar.AlphaOptimizedImageView
60                android:id="@+id/wifi_signal"
61                android:layout_width="@*android:dimen/status_bar_system_icon_size"
62                android:layout_height="@*android:dimen/status_bar_system_icon_size"
63                android:theme="?attr/lightIconTheme"/>
64        </FrameLayout>
65
66        <View
67            android:id="@+id/wifi_signal_spacer"
68            android:layout_width="@dimen/status_bar_wifi_signal_spacer_width"
69            android:layout_height="4dp"
70            android:visibility="gone"/>
71
72        <ViewStub
73            android:id="@+id/connected_device_signals_stub"
74            android:layout_width="wrap_content"
75            android:layout_height="wrap_content"
76            android:layout="@layout/connected_device_signal"/>
77
78        <View
79            android:id="@+id/wifi_airplane_spacer"
80            android:layout_width="@dimen/status_bar_airplane_spacer_width"
81            android:layout_height="4dp"
82            android:visibility="gone"
83        />
84    </com.android.keyguard.AlphaOptimizedLinearLayout>
85</com.android.systemui.statusbar.StatusBarWifiView>
86