Java android.support.v4.widget TextViewCompat fields, constructors, methods, implement or subclass

Example usage for Java android.support.v4.widget TextViewCompat fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.support.v4.widget TextViewCompat.

The text is from its open source code.

Method

intgetMaxLines(@NonNull TextView textView)
Returns the maximum number of lines displayed in the given TextView, or -1 if the maximum height was set in pixels instead.
voidsetCompoundDrawablesRelative(@NonNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom)
Sets the Drawables (if any) to appear to the start of, above, to the end of, and below the text.
voidsetCompoundDrawablesRelativeWithIntrinsicBounds(@NonNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom)
Sets the Drawables (if any) to appear to the start of, above, to the end of, and below the text.
voidsetCompoundDrawablesRelativeWithIntrinsicBounds(@NonNull TextView textView, @DrawableRes int start, @DrawableRes int top, @DrawableRes int end, @DrawableRes int bottom)
Sets the Drawables (if any) to appear to the start of, above, to the end of, and below the text.
voidsetTextAppearance(@NonNull TextView textView, @StyleRes int resId)
Sets the text appearance from the specified style resource.