Unit |
drawableStateChanged()
|
Int |
getFirstBaselineToTopHeight()
|
Int |
getLastBaselineToBottomHeight()
|
CharSequence! |
getText()
|
TextClassifier |
getTextClassifier()
Returns the TextClassifier used by this TextView. If no TextClassifier has been set, this TextView uses the default set by the android.view.textclassifier.TextClassificationManager .
|
PrecomputedTextCompat.Params |
getTextMetricsParamsCompat()
Gets the parameters for text layout precomputation, for use with PrecomputedTextCompat .
|
InputConnection! |
onCreateInputConnection(outAttrs: EditorInfo!)
|
Unit |
onLayout(changed: Boolean, left: Int, top: Int, right: Int, bottom: Int)
|
Unit |
onMeasure(widthMeasureSpec: Int, heightMeasureSpec: Int)
|
Unit |
onTextChanged(text: CharSequence!, start: Int, lengthBefore: Int, lengthAfter: Int)
|
Unit |
setBackgroundDrawable(background: Drawable!)
|
Unit |
setBackgroundResource(@DrawableRes resId: Int)
|
Unit |
setCompoundDrawables(@Nullable left: Drawable?, @Nullable top: Drawable?, @Nullable right: Drawable?, @Nullable bottom: Drawable?)
|
Unit |
setCompoundDrawablesRelative(@Nullable start: Drawable?, @Nullable top: Drawable?, @Nullable end: Drawable?, @Nullable bottom: Drawable?)
|
Unit |
setCompoundDrawablesRelativeWithIntrinsicBounds(@Nullable start: Drawable?, @Nullable top: Drawable?, @Nullable end: Drawable?, @Nullable bottom: Drawable?)
|
Unit |
setCompoundDrawablesRelativeWithIntrinsicBounds(start: Int, top: Int, end: Int, bottom: Int)
|
Unit |
setCompoundDrawablesWithIntrinsicBounds(@Nullable left: Drawable?, @Nullable top: Drawable?, @Nullable right: Drawable?, @Nullable bottom: Drawable?)
|
Unit |
setCompoundDrawablesWithIntrinsicBounds(left: Int, top: Int, right: Int, bottom: Int)
|
Unit |
setCustomSelectionActionModeCallback(actionModeCallback: Callback!)
See TextViewCompat#setCustomSelectionActionModeCallback(TextView, ActionMode.Callback)
|
Unit |
setFirstBaselineToTopHeight(@Px firstBaselineToTopHeight: Int)
|
Unit |
setLastBaselineToBottomHeight(@Px lastBaselineToBottomHeight: Int)
|
Unit |
setLineHeight(@Px lineHeight: Int)
|
Unit |
setPrecomputedText(@NonNull precomputed: PrecomputedTextCompat)
Sets the PrecomputedTextCompat to the TextView. If the given PrecomputeTextCompat is not compatible with textView, throws an IllegalArgumentException.
|
Unit |
setTextAppearance(context: Context!, resId: Int)
|
Unit |
setTextClassifier(@Nullable textClassifier: TextClassifier?)
Sets the TextClassifier for this TextView.
|
Unit |
setTextFuture(@Nullable future: Future<PrecomputedTextCompat!>?)
Set the precomputed text future. This method sets future of the precomputed text instead of immediately applying text to the TextView. Anything layout related property changes, text size, typeface, letter spacing, etc after this method call will causes IllegalArgumentException during View measurement. See PrecomputedTextCompat#getTextFuture for more detail.
|
Unit |
setTextMetricsParamsCompat(@NonNull params: PrecomputedTextCompat.Params)
Apply the text layout parameter. Update the TextView parameters to be compatible with PrecomputedTextCompat.Params .
|
Unit |
setTextSize(unit: Int, size: Float)
|
Unit |
setTypeface(@Nullable tf: Typeface?, style: Int)
|