Christian Robertson | 2e34742 | 2011-08-11 14:01:04 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
Christian Robertson | 2e34742 | 2011-08-11 14:01:04 -0700 | [diff] [blame] | 3 | ** |
| 4 | ** Copyright 2011, 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 | --> |
John Spurlock | b3eb891 | 2014-07-30 11:03:03 -0400 | [diff] [blame] | 19 | <!-- extends LinearLayout --> |
Christian Robertson | 2e34742 | 2011-08-11 14:01:04 -0700 | [diff] [blame] | 20 | <com.android.systemui.statusbar.SignalClusterView |
| 21 | xmlns:android="http://schemas.android.com/apk/res/android" |
Selim Cinek | 3e7592d | 2016-04-11 09:35:54 +0800 | [diff] [blame] | 22 | android:id="@+id/signal_cluster" |
Daniel Sandler | dfaf3bd | 2013-04-12 01:39:02 -0400 | [diff] [blame] | 23 | android:layout_height="match_parent" |
Christian Robertson | 2e34742 | 2011-08-11 14:01:04 -0700 | [diff] [blame] | 24 | android:layout_width="wrap_content" |
John Spurlock | b3eb891 | 2014-07-30 11:03:03 -0400 | [diff] [blame] | 25 | android:gravity="center_vertical" |
Christian Robertson | 2e34742 | 2011-08-11 14:01:04 -0700 | [diff] [blame] | 26 | android:orientation="horizontal" |
Jorim Jaggi | 6d035f1 | 2014-10-17 18:43:43 +0200 | [diff] [blame] | 27 | android:paddingEnd="@dimen/signal_cluster_battery_padding" |
Christian Robertson | 2e34742 | 2011-08-11 14:01:04 -0700 | [diff] [blame] | 28 | > |
Jason Monk | 3128f12 | 2014-09-03 13:18:57 -0400 | [diff] [blame] | 29 | <ImageView |
| 30 | android:id="@+id/vpn" |
| 31 | android:layout_height="wrap_content" |
| 32 | android:layout_width="wrap_content" |
| 33 | android:paddingEnd="6dp" |
| 34 | android:src="@drawable/stat_sys_vpn_ic" |
Lucas Dupin | 987f193 | 2017-05-13 21:02:52 -0700 | [diff] [blame] | 35 | android:tint="@color/background_protect_secondary" |
Charles He | ce28b38 | 2017-04-21 20:15:09 +0100 | [diff] [blame] | 36 | android:contentDescription="@string/accessibility_vpn_on" |
Jason Monk | 3128f12 | 2014-09-03 13:18:57 -0400 | [diff] [blame] | 37 | /> |
Christian Robertson | 2e34742 | 2011-08-11 14:01:04 -0700 | [diff] [blame] | 38 | <FrameLayout |
Lorenzo Colitti | d46bb58 | 2015-04-27 20:32:01 +0900 | [diff] [blame] | 39 | android:id="@+id/ethernet_combo" |
| 40 | android:layout_height="wrap_content" |
| 41 | android:layout_width="wrap_content" |
| 42 | > |
| 43 | <com.android.systemui.statusbar.AlphaOptimizedImageView |
Jason Monk | 9a376bc | 2017-05-10 09:52:10 -0400 | [diff] [blame] | 44 | android:theme="?attr/lightIconTheme" |
Lorenzo Colitti | d46bb58 | 2015-04-27 20:32:01 +0900 | [diff] [blame] | 45 | android:id="@+id/ethernet" |
| 46 | android:layout_height="wrap_content" |
| 47 | android:layout_width="wrap_content" |
| 48 | /> |
| 49 | <com.android.systemui.statusbar.AlphaOptimizedImageView |
Jason Monk | 9a376bc | 2017-05-10 09:52:10 -0400 | [diff] [blame] | 50 | android:theme="?attr/darkIconTheme" |
Lorenzo Colitti | d46bb58 | 2015-04-27 20:32:01 +0900 | [diff] [blame] | 51 | android:id="@+id/ethernet_dark" |
| 52 | android:layout_height="wrap_content" |
| 53 | android:layout_width="wrap_content" |
| 54 | android:alpha="0.0" |
| 55 | /> |
| 56 | </FrameLayout> |
| 57 | <FrameLayout |
Jason Monk | ad71ae1 | 2017-04-11 14:55:25 -0400 | [diff] [blame] | 58 | android:layout_height="17dp" |
Jason Monk | 7e6c83c | 2017-04-26 14:35:24 -0400 | [diff] [blame] | 59 | android:layout_width="wrap_content"> |
Jason Monk | ad71ae1 | 2017-04-11 14:55:25 -0400 | [diff] [blame] | 60 | <ImageView |
| 61 | android:id="@+id/wifi_in" |
| 62 | android:layout_height="wrap_content" |
| 63 | android:layout_width="wrap_content" |
| 64 | android:src="@drawable/ic_activity_down" |
| 65 | android:visibility="gone" |
| 66 | android:paddingEnd="2dp" |
| 67 | /> |
| 68 | <ImageView |
| 69 | android:id="@+id/wifi_out" |
| 70 | android:layout_height="wrap_content" |
| 71 | android:layout_width="wrap_content" |
| 72 | android:src="@drawable/ic_activity_up" |
| 73 | android:paddingEnd="2dp" |
| 74 | android:visibility="gone" |
| 75 | /> |
| 76 | </FrameLayout> |
| 77 | <FrameLayout |
Christian Robertson | 2e34742 | 2011-08-11 14:01:04 -0700 | [diff] [blame] | 78 | android:id="@+id/wifi_combo" |
| 79 | android:layout_height="wrap_content" |
| 80 | android:layout_width="wrap_content" |
Christian Robertson | 2e34742 | 2011-08-11 14:01:04 -0700 | [diff] [blame] | 81 | > |
Jorim Jaggi | 5443cc5 | 2015-03-20 14:39:24 -0700 | [diff] [blame] | 82 | <com.android.systemui.statusbar.AlphaOptimizedImageView |
Jason Monk | 9a376bc | 2017-05-10 09:52:10 -0400 | [diff] [blame] | 83 | android:theme="?attr/lightIconTheme" |
Christian Robertson | 2e34742 | 2011-08-11 14:01:04 -0700 | [diff] [blame] | 84 | android:id="@+id/wifi_signal" |
| 85 | android:layout_height="wrap_content" |
| 86 | android:layout_width="wrap_content" |
Christian Robertson | 2e34742 | 2011-08-11 14:01:04 -0700 | [diff] [blame] | 87 | /> |
Jorim Jaggi | 5443cc5 | 2015-03-20 14:39:24 -0700 | [diff] [blame] | 88 | <com.android.systemui.statusbar.AlphaOptimizedImageView |
Jason Monk | 9a376bc | 2017-05-10 09:52:10 -0400 | [diff] [blame] | 89 | android:theme="?attr/darkIconTheme" |
Jorim Jaggi | 5443cc5 | 2015-03-20 14:39:24 -0700 | [diff] [blame] | 90 | android:id="@+id/wifi_signal_dark" |
| 91 | android:layout_height="wrap_content" |
| 92 | android:layout_width="wrap_content" |
| 93 | android:alpha="0.0" |
| 94 | /> |
Kenneth Westin | 5c88ffb | 2013-11-28 16:29:40 +0100 | [diff] [blame] | 95 | <ImageView |
| 96 | android:id="@+id/wifi_inout" |
| 97 | android:layout_height="wrap_content" |
| 98 | android:layout_width="wrap_content" |
| 99 | /> |
Christian Robertson | 2e34742 | 2011-08-11 14:01:04 -0700 | [diff] [blame] | 100 | </FrameLayout> |
Jason Monk | 7e6c83c | 2017-04-26 14:35:24 -0400 | [diff] [blame] | 101 | <View |
| 102 | android:id="@+id/wifi_signal_spacer" |
| 103 | android:layout_width="@dimen/status_bar_wifi_signal_spacer_width" |
| 104 | android:layout_height="4dp" |
| 105 | android:visibility="gone" |
| 106 | /> |
| 107 | <ViewStub |
| 108 | android:id="@+id/connected_device_signals_stub" |
| 109 | android:layout="@layout/connected_device_signal" |
| 110 | android:layout_width="wrap_content" |
| 111 | android:layout_height="wrap_content" /> |
| 112 | <LinearLayout |
| 113 | android:id="@+id/mobile_signal_group" |
| 114 | android:layout_height="wrap_content" |
| 115 | android:layout_width="wrap_content" |
| 116 | > |
| 117 | </LinearLayout> |
Jason Monk | 7e6c83c | 2017-04-26 14:35:24 -0400 | [diff] [blame] | 118 | <View |
| 119 | android:id="@+id/wifi_airplane_spacer" |
| 120 | android:layout_width="@dimen/status_bar_airplane_spacer_width" |
| 121 | android:layout_height="4dp" |
| 122 | android:visibility="gone" |
| 123 | /> |
Andrew Flynn | 061d43c | 2012-05-04 10:57:58 -0700 | [diff] [blame] | 124 | <ImageView |
| 125 | android:id="@+id/airplane" |
| 126 | android:layout_height="wrap_content" |
| 127 | android:layout_width="wrap_content" |
| 128 | /> |
Christian Robertson | 2e34742 | 2011-08-11 14:01:04 -0700 | [diff] [blame] | 129 | </com.android.systemui.statusbar.SignalClusterView> |