What controls the default padding between views?
<p>When I put a view on a layout, it automatically has some padding/margin on it.</p>

<p>See this picture:</p>

<p><img src="http://i.stack.imgur.com/03V4M.png" alt="alt text"></p>

<p>The red rectangle show the space that the button takes.  Note the empty space between the button and the red lines.  That's the space in question.</p>

<p>What controls that space and how to I change it ?</p>

<p>It's messing up my lisview's button alignments!</p>

<p>The code for that layout:
    
    </p>

<pre><code>    &lt;Button 
        android:text="@+id/Button01" 
        android:id="@+id/Button01" 
        android:layout_width="wrap_content" 
        android:layout_height="wrap_content"/&gt;

    &lt;Button 
        android:text="@+id/Button02" 
        android:id="@+id/Button02"
        android:layout_width="wrap_content" 
        android:layout_height="wrap_content"/&gt;
&lt;/LinearLayout&gt;
</code></pre>
