res/drawable/status_icon.xml
author Da Risk <darisk972@gmail.com>
Sun, 12 Sep 2010 01:07:36 +0200
changeset 799 b2a796654230
parent 752 0e16dee2bd4c
permissions -rw-r--r--
Implementation of XEP-084 which loads avatar from http. Big hacking on the PEP* classes of Smack. Still need to commit the patch. Maybe this should be port to use she pubsub packages.

<?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>