完整内容,请查看:http://www.zhdoc.net/android/reference/android/widget/CheckedTextView.html
CheckedTextView
public class CheckedTextView
extends TextView
implements Checkable
java.lang.Object | |||
↳ | android.view.View | ||
↳ | android.widget.TextView | ||
↳ | android.widget.CheckedTextView |
An extension to TextView
that supports the Checkable
interface and displays.
TextView
的一个扩展,支持Checkable
的接口和显示。
This is useful when used in a ListView
where the setChoiceMode
has been set to something other than CHOICE_MODE_NONE
.
当在ListView
中使用此类时,这里setChoiceMode
方法用于设置一些有用的属性,而不是CHOICE_MODE_NONE
。
摘要
XML属性 | |
---|---|
android:checkMark | drawable,用于复选标记图像。 |
android:checkMarkTint | 复选标记的tint。 |
android:checkMarkTintMode | 混合模式,用于复选标记着色。 |
android:checked | 此按钮的初始状态为选中。 |
继承XML属性 | |
---|---|
From class android.widget.TextView
| |
From class android.view.View
|
继承常量
完整内容,请查看:http://www.zhdoc.net/android/reference/android/widget/CheckedTextView.html