我只是想尝试使用不同的复选框,其外观看起来像一个单选按钮,就像一个内部带有绿灯的圆形按钮.我用Google搜索了很长时间,但没有找到解决方案,有没有办法做到这一点.
提前致谢.
apo*_*lov 22
更好的方法是将CheckBox的样式设置为与RadioButton的样式相匹配.
@android:款式/ Widget.CompoundButton.RadioButton
使CheckBox看起来像这样
<CheckBox style="@android:style/Widget.CompoundButton.RadioButton" />
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
5249 次 |
| 最近记录: |