Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Yes that's possible you have to define your own style for radio buttons, at res/values/styles.xml:</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;resources&gt; &lt;style name="CustomTheme" parent="android:Theme"&gt; &lt;item name="android:radioButtonStyle"&gt;@style/RadioButton&lt;/item&gt; &lt;/style&gt; &lt;style name="RadioButton" parent="@android:style/Widget.CompoundButton.RadioButton"&gt; &lt;item name="android:button"&gt;@drawable/radio&lt;/item&gt; &lt;/style&gt; &lt;/resources&gt; </code></pre> <p>'radio' here should be a stateful drawable, radio.xml:</p> <pre><code> &lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;selector xmlns:android="http://schemas.android.com/apk/res/android"&gt; &lt;item android:state_checked="true" android:state_window_focused="false" android:drawable="@drawable/radio_hover" /&gt; &lt;item android:state_checked="false" android:state_window_focused="false" android:drawable="@drawable/radio_normal" /&gt; &lt;item android:state_checked="true" android:state_pressed="true" android:drawable="@drawable/radio_active" /&gt; &lt;item android:state_checked="false" android:state_pressed="true" android:drawable="@drawable/radio_active" /&gt; &lt;item android:state_checked="true" android:state_focused="true" android:drawable="@drawable/radio_hover" /&gt; &lt;item android:state_checked="false" android:state_focused="true" android:drawable="@drawable/radio_normal_off" /&gt; &lt;item android:state_checked="false" android:drawable="@drawable/radio_normal" /&gt; &lt;item android:state_checked="true" android:drawable="@drawable/radio_hover" /&gt; &lt;/selector&gt; </code></pre> <p>Then just apply the Custom theme either to whole app or to activities of your choice.</p> <p>For more info about themes and styles look at <a href="http://brainflush.wordpress.com/2009/03/15/understanding-android-themes-and-styles/" rel="noreferrer">http://brainflush.wordpress.com/2009/03/15/understanding-android-themes-and-styles/</a> that is good guide.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload