标签: android android-layout
我不喜欢使用按钮的原因是背景图像调整大小,而使用imageview保持按原样。但这样做让我想知道它是否是一种在聚焦方面提供界面的好方法。我的意思是ImageView获得焦点和TextView之间有什么区别吗?
答案 0 :(得分:0)
您可以尝试使用ImageButton ...
您将能够使用与ImageView相同的属性。
这是the documentation about this.
答案 1 :(得分:0)
我大多使用ImageView代替ImageButton我从来没有遇到任何问题
ImageView
ImageButton