Code example for TypefaceSpan

0
                    } 
                } 
            } 
 
            if (f.mFace != null) {
                text.setSpan(new TypefaceSpan(f.mFace), where, len, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
            } 
        } 
    } 
 
    private static void startA(SpannableStringBuilder text, Attributes attributes) {
        String href = attributes.getValue("", "href");
 
        int len = text.length();
        text.setSpan(new Href(href), len, len, Spanned.SPAN_MARK_MARK);
    } 
 
    private static void endA(SpannableStringBuilder text) {
        int len = text.length();
        Object obj = getLast(text, Href.class);
Stop searching for code, let great code find you!  Add Codota to your java IDE