TextView(android:TextStyle, android:Textface, android:TextColor)
Button(android:onClick="method()")
ImageView, ImageButton
EditText(android:autoText, android:capitalize, android:digital, android:SingleLine)
CheckBox(isChecked, setChecked, toggle)
RadioButton(check, clearCheck, getCheckedRadioButtonId)
其他有用的方法:
setEnabled, isEnabeld
requestFocus, isFocused
getParent
findViewById
getRootView
Use ColorStateList.valueOf(), which returns a ColorStateList in
which all states are considered to have the same color, which you
supply as the parameter to the valueOf() method.