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
This commit is contained in:
Stephen Chen
2017-01-19 17:22:48 -08:00
parent e3ca36a060
commit 59882384f3

View File

@@ -16,9 +16,10 @@
<selector xmlns:android="http://schemas.android.com/apk/res/android" <selector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"> xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<item settings:state_encrypted="true" <item
settings:state_saved="true" settings:state_encrypted="true"
android:drawable="@drawable/ic_friction_lock_open"/> settings:state_saved="true"
android:drawable="@drawable/ic_friction_lock_closed"/>
<item <item
settings:state_encrypted="true" settings:state_encrypted="true"
settings:state_saved="false" settings:state_saved="false"