# EllipsizeTextView

public class EllipsizeTextView

可设置多行中间省略的及忽略自动换行效果的 TextView

## Constructors

EllipsizeTextView
Link copied to clipboard
public void EllipsizeTextView(Context context)
public void EllipsizeTextView(Context context, AttributeSet attrs)

## Types

Range
Link copied to clipboard
public final class Range<T extends Comparable<? super T>>

## Functions

setAdaptiveText
Link copied to clipboard
public void setAdaptiveText(String text)
使用该方法设置TextView的文本内容,不自动适配换行
setEllipsizeText
Link copied to clipboard
public void setEllipsizeText(CharSequence ellipsizeText, int ellipsizeIndex)
setMaxLines
Link copied to clipboard
public void setMaxLines(int maxLines)
setText
Link copied to clipboard
public void setText(CharSequence text, BufferType type)