使用无线电按钮而不是仅在Android中显示目的是好的吗?
我有一个设计,图像视图看起来像一个单选按钮,但没有收到无线电检查/未选中的目的。由于它看起来像一个单选按钮,因此使用启用状态并关闭用户互动的广播按钮是否很好,而不是在项目中添加图像的图像视图?
哪种方法更好?该系统在拥有imageview或播放按钮而不是另一个系统时有什么额外的裁判?
I have a design where the image view looks like a radio button but serves no purpose of radio checked/ unchecked. Since it looks like a radio button, is it good to use a radio button which state enabled and user interaction off, instead of having an image view with image added in the project?
Which is the better approach? What extra burder does the system have in having imageview or radio button instead of the other one?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以在
textview
xml 中添加可绘制绘制
的 您可以使用简单的
查看
并用textView
来约束它。You can add drawable to your
TextView
inxml
asSo, there is no need of using
ImageView
orRadioButton
Or you can use simple
View
and constraint it with yourtextView
就系统而言,没有负担。但是,负担负担在开发商和项目的维护者身上。将图像视图放置在无线电按钮的实际功能中,无缘无故地使事情变得复杂。
如果意图是显示选项/选择,则广播按钮是显而易见的选择。它对用户也很直观,当然也可以直接使用代码。
As far as the system goes, there is no burden. The burden is however on the developer and the maintainer of the project. Putting an imageview where actually the functionality is for a radio button complicates matters for no reason.
If the intent is to show options/choices, then radio button is the obvious choice. It's intuitive to the user as well and of course straight forward to code.