Evan Laird | e1d13c9 | 2018-03-20 16:58:01 -0400 | [diff] [blame] | 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:paddingStart="4dp" |
| 26 | android:gravity="center_vertical" |
| 27 | android:orientation="horizontal" > |
| 28 | |
| 29 | <FrameLayout |
| 30 | android:id="@+id/inout_container" |
| 31 | android:layout_height="17dp" |
| 32 | android:layout_width="wrap_content" |
| 33 | android:gravity="center_vertical" > |
| 34 | <ImageView |
| 35 | android:id="@+id/wifi_in" |
| 36 | android:layout_height="wrap_content" |
| 37 | android:layout_width="wrap_content" |
| 38 | android:src="@drawable/ic_activity_down" |
| 39 | android:visibility="gone" |
| 40 | android:paddingEnd="2dp" |
| 41 | /> |
| 42 | <ImageView |
| 43 | android:id="@+id/wifi_out" |
| 44 | android:layout_height="wrap_content" |
| 45 | android:layout_width="wrap_content" |
| 46 | android:src="@drawable/ic_activity_up" |
| 47 | android:paddingEnd="2dp" |
| 48 | android:visibility="gone" |
| 49 | /> |
| 50 | </FrameLayout> |
| 51 | <FrameLayout |
| 52 | android:id="@+id/wifi_combo" |
| 53 | android:layout_height="wrap_content" |
| 54 | android:layout_width="wrap_content" |
| 55 | android:gravity="center_vertical" > |
| 56 | <com.android.systemui.statusbar.AlphaOptimizedImageView |
| 57 | android:theme="?attr/lightIconTheme" |
| 58 | android:id="@+id/wifi_signal" |
| 59 | android:layout_height="wrap_content" |
| 60 | android:layout_width="wrap_content" /> |
| 61 | </FrameLayout> |
| 62 | |
| 63 | <View |
| 64 | android:id="@+id/wifi_signal_spacer" |
| 65 | android:layout_width="@dimen/status_bar_wifi_signal_spacer_width" |
| 66 | android:layout_height="4dp" |
| 67 | android:visibility="gone" /> |
| 68 | |
| 69 | <!-- Looks like CarStatusBar uses this... --> |
| 70 | <ViewStub |
| 71 | android:id="@+id/connected_device_signals_stub" |
| 72 | android:layout="@layout/connected_device_signal" |
| 73 | android:layout_width="wrap_content" |
| 74 | android:layout_height="wrap_content" /> |
| 75 | |
| 76 | <View |
| 77 | android:id="@+id/wifi_airplane_spacer" |
| 78 | android:layout_width="@dimen/status_bar_airplane_spacer_width" |
| 79 | android:layout_height="4dp" |
| 80 | android:visibility="gone" |
| 81 | /> |
| 82 | </com.android.systemui.statusbar.StatusBarWifiView> |