Custom layout for RadioButton
问题 Is there any way I can change the layout for a RadioButton and still have the RadioGroup recognise it? what I need is that the layout will include a couple of EditText fields so that when the user selected that button those fields become active. I know I can built a custom part based on LinearLayout and set my own layout using: (LinearLayout) LayoutInflater.from(context).inflate(R.layout.my_layout, this, true) but can't figure out how to do the same thing with a radio button. I have tried the