sk.baka.ambient.views
Class Iconify

java.lang.Object
  extended by sk.baka.ambient.views.Iconify

public final class Iconify
extends java.lang.Object

A play on the Linkify class - iconifies given spannables instead.

Author:
Martin Vysny

Method Summary
static java.lang.CharSequence iconify(android.content.Context c, int stringResId)
          Loads and iconifies given spannable.
static void iconify(android.content.Context c, android.text.Spannable s)
          Iconifies given spannable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

iconify

public static void iconify(android.content.Context c,
                           android.text.Spannable s)
Iconifies given spannable.

Parameters:
c - the context
s - the spannable

iconify

public static java.lang.CharSequence iconify(android.content.Context c,
                                             int stringResId)
Loads and iconifies given spannable.

Parameters:
c - the context
stringResId - the string resource ID
Returns:
iconified spannable.


Copyright © 2007-2009. All Rights Reserved.