How to set RadioButton properties in code?
<p>I'm using this code to dynamically create new RadioButton in Android:</p>

<pre><code>RadioButton radioButton = new RadioButton(getBaseContext());
radioButton.setText("test text");
radioGroup.addView(radioButton);
</code></pre>

<p>I need to set RadioButton properties "android:button", "android:minWidth" and "android:textAppearance" in code (not in xml), before adding radioButton to radio group.</p>
