Show WiFi/mobile disabled state

Refs #92
This commit is contained in:
M66B 2015-11-10 15:02:42 +01:00
parent 01034cf3ad
commit 435bcbf5fc
6 changed files with 24 additions and 6 deletions

View File

@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android"> <selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/other_on" android:state_checked="false" /> <item android:drawable="@drawable/other_on" android:state_checked="false" android:state_enabled="true" />
<item android:drawable="@drawable/other_off" android:state_checked="true" /> <item android:drawable="@drawable/other_off" android:state_checked="true" android:state_enabled="true" />
<item android:drawable="@drawable/other_off" /> <item android:drawable="@drawable/other_on_disabled" android:state_checked="false" android:state_enabled="false" />
<item android:drawable="@drawable/other_off_disabled" android:state_checked="true" android:state_enabled="false" />
</selector> </selector>

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
android:src="@drawable/ic_signal_cellular_off_white_24dp"
android:tint="@android:color/darker_gray" />

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
android:src="@drawable/ic_network_cell_white_24dp"
android:tint="@android:color/darker_gray" />

View File

@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android"> <selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/wifi_on" android:state_checked="false" /> <item android:drawable="@drawable/wifi_on" android:state_checked="false" android:state_enabled="true" />
<item android:drawable="@drawable/wifi_off" android:state_checked="true" /> <item android:drawable="@drawable/wifi_off" android:state_checked="true" android:state_enabled="true" />
<item android:drawable="@drawable/wifi_off" /> <item android:drawable="@drawable/wifi_on_disabled" android:state_checked="false" android:state_enabled="false" />
<item android:drawable="@drawable/wifi_off_disabled" android:state_checked="true" android:state_enabled="false" />
</selector> </selector>

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
android:src="@drawable/ic_signal_wifi_off_white_24dp"
android:tint="@android:color/darker_gray" />

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
android:src="@drawable/ic_network_wifi_white_24dp"
android:tint="@android:color/darker_gray" />