Interface ITextView2
interface ITextView2
Extends ITextView
This interface extends ITextView with additional text selection functionalities.
Methods
setTextSelectable()
Sets whether the users can select the text. The default value is false.voidsetTextSelectable(boolisSelectable)
Parameters
isSelectable
bool — Required
true to enable text selection, false otherwise.
setSelectionColor()
Sets the text selection highlight color. The default color is shade of blue {0.4, 0.2, 0.71, 0.898}.voidsetSelectionColor(com.amazon.kepler.uitoolkit.graphics.Color*color)
Parameters
color
com.amazon.kepler.uitoolkit.graphics.Color* — Required
Color to use for text selection highlighting.

