List of RadioButtons on Android, Java
<p>I need create a list of RadioButtons, but if I try to do it with ListView than I can select all radiobuttons simultaneously, but I need 1 selected radiobutton simultaneously. Therefore, I can try this code:</p>

<pre><code>RadioGroup group=new RadioGroup(this);
LinearLayout layout=(LinearLayout)findViewById(R.id.linearLayout2);

for (String item:mMusicData.keySet()) {
    RadioButton button=new RadioButton(this);
    button.setText(item);
    group.addView(button);
}

layout.addView(group);
</code></pre>

<p>But layout doesn't show all items, because layout is small. I need scrollbar or another mean for my task. Help me please. </p>
