1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 Copyright 2017 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 18<selector 19 xmlns:android="http://schemas.android.com/apk/res/android" 20 xmlns:settings="http://schemas.android.com/apk/res/com.android.car.settings"> 21 <item settings:state_encrypted="true"> 22 <layer-list> 23 <item> 24 <level-list> 25 <item 26 android:drawable="@drawable/ic_wifi_signal_0" 27 android:maxLevel="0"/> 28 <item 29 android:drawable="@drawable/ic_wifi_signal_1" 30 android:maxLevel="1"/> 31 <item 32 android:drawable="@drawable/ic_wifi_signal_2" 33 android:maxLevel="2"/> 34 <item 35 android:drawable="@drawable/ic_wifi_signal_3" 36 android:maxLevel="3"/> 37 <item 38 android:drawable="@drawable/ic_wifi_signal_4" 39 android:maxLevel="4"/> 40 </level-list> 41 </item> 42 <item android:drawable="@drawable/ic_wifi_signal_lock"/> 43 </layer-list> 44 </item> 45 <item settings:state_encrypted="false"> 46 <level-list> 47 <item 48 android:drawable="@drawable/ic_wifi_signal_0" 49 android:maxLevel="0"/> 50 <item 51 android:drawable="@drawable/ic_wifi_signal_1" 52 android:maxLevel="1"/> 53 <item 54 android:drawable="@drawable/ic_wifi_signal_2" 55 android:maxLevel="2"/> 56 <item 57 android:drawable="@drawable/ic_wifi_signal_3" 58 android:maxLevel="3"/> 59 <item 60 android:drawable="@drawable/ic_wifi_signal_4" 61 android:maxLevel="4"/> 62 </level-list> 63 </item> 64</selector> 65