如题,如图, android 自带的 radio group 貌似没找到这个选项:
http://img.prntscr.com/img?url= href="http://i.imgur.com/hKdUODN.png" target="_blank">
http://img.prntscr.com/img?url= href="http://i.imgur.com/hKdUODN.png" target="_blank">


|
Slienc7May 11, 2016
1
|
|
2
1. Radio Button 是 TextView 的之类,本身就能带有文字。如果是像图中的样比较简单的双行文字不同颜色不同尺寸,用 SpannableString 就行。
2. 如果是比较复杂的视图,用 ListView 或 RecyclerView 。 |
|
dphdjyMay 11, 2016 via Android
3
CheckBox+textView 的类似代码,换成 Radio 就好啦~
https://github.com/GitaiQAQ/Hosts-Studio-Android/blob/master/app/src/main/res/layout/checkable_host_item.xml |