blob: 482f78028497615b7ff2c94359a856a8fe5cabc9 [file] [log] [blame]
Evan Lairde1d13c92018-03-20 16:58:01 -04001<?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"
Evan Laird20b87bf2018-04-12 09:54:11 -040025 android:gravity="center_vertical" >
Evan Lairde1d13c92018-03-20 16:58:01 -040026
Evan Laird20b87bf2018-04-12 09:54:11 -040027 <com.android.keyguard.AlphaOptimizedLinearLayout
28 android:id="@+id/wifi_group"
29 android:layout_width="wrap_content"
30 android:layout_height="match_parent"
31 android:paddingStart="2dp"
32 android:gravity="center_vertical"
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"
Evan Lairde1d13c92018-03-20 16:58:01 -040059 android:layout_width="wrap_content"
60 android:gravity="center_vertical" >
Evan Laird20b87bf2018-04-12 09:54:11 -040061 <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"
Evan Lairde1d13c92018-03-20 16:58:01 -040078 android:layout_width="wrap_content"
Evan Laird20b87bf2018-04-12 09:54:11 -040079 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"
Evan Lairde1d13c92018-03-20 16:58:01 -040085 android:visibility="gone"
86 />
Evan Laird20b87bf2018-04-12 09:54:11 -040087 </com.android.keyguard.AlphaOptimizedLinearLayout>
Evan Lairde1d13c92018-03-20 16:58:01 -040088</com.android.systemui.statusbar.StatusBarWifiView>