diff options
author | Arne Schwabe <arne@rfc2549.org> | 2013-02-10 21:55:46 +0100 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2013-02-10 21:55:46 +0100 |
commit | 2a9f7fcdb1ddf8c2ee39ed87334bf0bc58955808 (patch) | |
tree | f39f5812032d316e6530a1b143758088a39e7fbd /res/drawable/ic_notification_icon.xml | |
parent | dad578cff15e77be2f7e1ce6ff2b8dad4753da4d (diff) |
Use different icons in the status bar depending on status.
Diffstat (limited to 'res/drawable/ic_notification_icon.xml')
-rw-r--r-- | res/drawable/ic_notification_icon.xml | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/res/drawable/ic_notification_icon.xml b/res/drawable/ic_notification_icon.xml index db5e6e0f..852da869 100644 --- a/res/drawable/ic_notification_icon.xml +++ b/res/drawable/ic_notification_icon.xml @@ -1,5 +1,14 @@ <level-list xmlns:android="http://schemas.android.com/apk/res/android">
+ <!-- connected -->
<item android:maxLevel="0" android:drawable="@drawable/ic_stat_vpn" />
- <item android:maxLevel="1" android:drawable="@drawable/ic_stat_vpn" />
- <item android:maxLevel="2" android:drawable="@drawable/ic_stat_vpn" />
+ <!-- connecting, server reply -->
+ <item android:maxLevel="1" android:drawable="@drawable/ic_stat_vpn_more_halo" />
+ <!-- connecting, no server rply yet -->
+ <item android:maxLevel="2" android:drawable="@drawable/ic_stat_vpn_minimal_halo" />
+ <!-- no useable network -->
+ <item android:maxLevel="3" android:drawable="@drawable/ic_stat_vpn_offline" />
+ <!-- Authentication failed -->
+ <item android:maxLevel="4" android:drawable="@drawable/ic_stat_vpn_more_halo" />
+ <!-- client not running, not used -->
+ <item android:maxLevel="5" android:drawable="@drawable/ic_stat_vpn_offline" />
</level-list>
\ No newline at end of file |