Java 类android.text.style.DrawableMarginSpan 实例源码

项目:Android-Spans    文件:Span.java   
public static Node drawableMargin(Drawable drawable, Object... nodes) {
    return new SpanNode(new DrawableMarginSpan(drawable), nodes);
}
项目:Android-Spans    文件:Span.java   
public static Node drawableMargin(Drawable drawable, @Px Integer padding, Object... nodes) {
    return new SpanNode(new DrawableMarginSpan(drawable, padding), nodes);
}