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.

更多相关文章

  1. Android(安卓)23种设计模式
  2. python3中dict.keys().sort()用不了的解决方法
  3. $.ajax同步/异步(async:false/true)解析
  4. webpack 中使用 axios 方法总结及初识 vue
  5. 自定义方法,实现通过类名获取对象集合
  6. SpringBoot开发项目,引入JPA找不到findOne方法的解决
  7. 自定义方法通过类名获取对象集合
  8. python中取整数的几种方法
  9. js数组方法

随机推荐

  1. 程序员职业发展方向有哪些?
  2. 技多不压身,手把手教你零基础秒上手成为数
  3. 图表控件AnyChart如何使用JavaScript创建
  4. 点云处理库pclpy安装
  5. 汇总:Linux文件管理的50个命令
  6. 你是怎么看待SaaS的?
  7. Python 循环语句
  8. Shell的18条常用命令整理
  9. 页表 段号 页号 分段式 分页式 段页式
  10. 我的开源项目——Windows PE和Linux ELF