首页
未来题库
→
标签
→
ImageButton
ImageButton
1.
为确保uiautomator测试顺利进行,最好使用()属性给ImageButton,ImageView,CheckBox和其他控件设置标签。
2.
建议用android:contentDescription属性给ImageButton等控件设置标签。
3.
ImageButton与Button之间最大的区别在于ImageButton中没有text属性。