Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Interface ITextView2

interface ITextView2
Extends ITextView This interface extends ITextView with additional text selection functionalities.

Methods

setTextSelectable()

void setTextSelectable(bool isSelectable)
Sets whether the users can select the text. The default value is false.

Parameters

isSelectable
bool — Required true to enable text selection, false otherwise.

setSelectionColor()

void setSelectionColor(com.amazon.kepler.uitoolkit.graphics.Color* color)
Sets the text selection highlight color. The default color is shade of blue {0.4, 0.2, 0.71, 0.898}.

Parameters

color
com.amazon.kepler.uitoolkit.graphics.Color* — Required Color to use for text selection highlighting.
Last modified on October 29, 2026