Android - Radio button selections are not being registered
<p>I am trying to use radio buttons but they aren't working.  I've got the toast in there at the moment purely for debugging, and it never appears.  There seems to be various ways to use them so perhaps I'm just using a poor method.  Any advice on what I've done wrong would be amazing.</p>

<pre><code>final RadioButton rbSDR = (RadioButton) findViewById(R.id.rbSDR);
final RadioButton rbMM = (RadioButton) findViewById(R.id.rbMM);
RadioGroup radioGroup = (RadioGroup) findViewById(R.id.radioGroup);
//int checkedRadioButtonID = radGrp.getCheckedRadioButtonId();
radioGroup.setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener() {
public void onCheckedChanged(RadioGroup arg0, int id) {

   Toast.makeText(getBaseContext(), "Checked",
           Toast.LENGTH_SHORT).show(); 

   switch (id) {
   case -1:
       rbMM.setChecked(false);
       rbSDR.setChecked(false);
     break;
   case R.id.rbSDR:
       rbMM.setChecked(false);
     break;
   case R.id.rbMM:
       rbSDR.setChecked(false);
     break;
   default:
     break;
   }

});
</code></pre>

<p>EDIT:
Apparently the issue was that I had a linear layout WITHIN the radio button group.  Now to figure out how to put the buttons side by side...</p>
