public class

IconMarginSpan

extends Object
implements LeadingMarginSpan LineHeightSpan
java.lang.Object
   ↳ android.text.style.IconMarginSpan

Summary

Public Constructors
IconMarginSpan(Bitmap b)
IconMarginSpan(Bitmap b, int pad)
Public Methods
void chooseHeight(CharSequence text, int start, int end, int istartv, int v, Paint.FontMetricsInt fm)
void drawLeadingMargin(Canvas c, Paint p, int x, int dir, int top, int baseline, int bottom, CharSequence text, int start, int end, boolean first, Layout layout)
int getLeadingMargin(boolean first)
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.text.style.LeadingMarginSpan
From interface android.text.style.LineHeightSpan

Public Constructors

public IconMarginSpan (Bitmap b)

public IconMarginSpan (Bitmap b, int pad)

Public Methods

public void chooseHeight (CharSequence text, int start, int end, int istartv, int v, Paint.FontMetricsInt fm)

public void drawLeadingMargin (Canvas c, Paint p, int x, int dir, int top, int baseline, int bottom, CharSequence text, int start, int end, boolean first, Layout layout)

public int getLeadingMargin (boolean first)