完整内容,请查看: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属性 | |
|---|---|
android.widget.TextView
| |
android.view.View
| |
继承常量
完整内容,请查看:http://www.zhdoc.net/android/reference/android/widget/CheckedTextView.html
本文详细介绍了Android中的CheckedTextView组件,它是TextView的一个扩展,支持Checkable接口,适用于需要在ListView中实现选择功能的场景。文章还列举了该组件的相关XML属性及继承属性。
201

被折叠的 条评论
为什么被折叠?



