Files
app_Settings/res/drawable/wifi_friction.xml
Stephen Chen 59882384f3 Show closed friction icon for saved and secure networks.
This is a temporary adjustment for the friction UI logic, will
make a more permanent refactor when design decisions are finalized.

Test: manual inspection.
Change-Id: I06cd02b1092ed7e29a36cc83a9de297c513cbac8
2017-01-19 17:28:44 -08:00

28 lines
1.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2017 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<selector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<item
settings:state_encrypted="true"
settings:state_saved="true"
android:drawable="@drawable/ic_friction_lock_closed"/>
<item
settings:state_encrypted="true"
settings:state_saved="false"
android:drawable="@drawable/ic_friction_lock_closed"/>
</selector>