Package-level declarations

Types

Link copied to clipboard
class AppendableStyle(@ColorInt val foreColor: Int? = null, @ColorInt val backColor: Int = ContextCompat .getColor(ContextHelper.getAppContext(), R.color.transparent), val fontStyle: StyleMode = StyleMode.NORMAL, val fontFamily: TypefaceSpan? = null, val fontSize: Int? = null, val fontAlign: Layout.Alignment? = null, val proportion: Float = 1.0f, val xProportion: Float = 1.0f)

The append style.

Link copied to clipboard

Script mode.

Link copied to clipboard
enum SpanMode(val value: Int) : Enum<SpanMode>

Span mode

Link copied to clipboard
Link copied to clipboard
enum StyleMode(val value: Int) : Enum<StyleMode>

Style of the span.

Functions

Link copied to clipboard
inline fun appendableStyleScope(textView: TextView, scope: SpannableStringBuilder.() -> Unit)

Create a style string scope.

Link copied to clipboard
Link copied to clipboard

Add style string.