ImageSpan

Class of android.text.style · ImageSpan.java · Android's reference

public class ImageSpan extends DynamicDrawableSpan

ImageSpan ← DynamicDrawableSpan ← ReplacementSpan ← MetricAffectingSpan ← CharacterStyle

A drawable in place of its characters, with the source that HTML gave it.

Constructors

public ImageSpan(Drawable drawable) source
public ImageSpan(Drawable drawable, int verticalAlignment) source
public ImageSpan(Drawable drawable, String source) source
public ImageSpan(Drawable drawable, String source, int verticalAlignment) source
public ImageSpan(android.content.Context context, android.graphics.Bitmap bitmap) source
public ImageSpan(android.content.Context context, android.graphics.Bitmap bitmap, int verticalAlignment) source

Methods

public Drawable getDrawable() source
public String getSource() source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.