res/drawable/status_icon.xml
author Da Risk <da_risk@beem-project.com>
Fri, 27 Jan 2012 00:05:55 +0100
changeset 964 89dbb4bee206
parent 752 0e16dee2bd4c
permissions -rw-r--r--
Initialize the xmpp connection config in a background thread. On android > 3.x network operations on the main thread crash the application. This move the dns request made by the ConnectionConfiguration in another thread by lazily initializing the XMPPConnection

<?xml version="1.0" encoding="utf-8"?>
<!--
    Level list drawable for status icon
    See src/com/beem/project/beem/utils/Status.java
    for level values
-->
<level-list xmlns:android="http://schemas.android.com/apk/res/android">
  <item android:maxLevel="100" android:drawable="@android:drawable/presence_offline" />
  <item android:maxLevel="200" android:drawable="@drawable/status_requested" />
  <item android:maxLevel="300" android:drawable="@android:drawable/presence_away" />
  <item android:maxLevel="400" android:drawable="@android:drawable/presence_busy" />
  <item android:maxLevel="600" android:drawable="@android:drawable/presence_online" />
 </level-list>