Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to add margin between radiobutton ant it's drawable?
    primarykey
    data
    text
    <p>This my current layout:</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;ScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/scrollview" android:layout_width="fill_parent" android:layout_height="wrap_content" android:background="#F5F5DC" &gt; &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" &gt; &lt;RadioGroup android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="vertical" &gt; &lt;RadioButton android:id="@+id/radio_red" android:layout_width="wrap_content" android:layout_height="wrap_content" android:drawableLeft="@drawable/flag_dk" android:textColor="#000000" android:layout_gravity="center_horizontal" android:drawablePadding="10dip" android:text="Danish" /&gt; &lt;RadioButton android:id="@+id/radio_blue" android:layout_width="wrap_content" android:layout_height="wrap_content" android:drawableLeft="@drawable/flag_en" android:layout_gravity="center_horizontal" android:layout_marginTop="5dip" android:drawablePadding="10dip" android:textColor="#000000" android:text="English" /&gt; &lt;/RadioGroup&gt; &lt;/LinearLayout&gt; &lt;/ScrollView&gt; </code></pre> <p>I get this:</p> <p><img src="https://i.stack.imgur.com/1P2YD.png" alt="enter image description here"></p> <p>I would like to have some space (margin) between radiobutton an the flag (it's drawable). Is it even possible?</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.
 

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