title: Android -- How to remove that little extra padding when using a ListView with custom background?
body: <p>I have the following layout:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;FrameLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="vertical"
    android:background="#EAEAEA"&gt;
  
    &lt;ListView  
          android:id="@+id/xxx"
          android:layout_width="fill_parent"  
          android:layout_height="fill_parent"
          android:textColor="#464C59"         
          android:divider="#A4C539"
          android:dividerHeight="1px"&gt;
     &lt;/ListView&gt;
  
      &lt;ImageView
          android:id="@+id/home_bottom_bar"
          android:src="@drawable/bottombar"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_gravity="bottom"
          android:clickable="true"/&gt;
  &lt;/FrameLayout&gt;
  </code></pre>
  
  <p>The goal is to have some sort of advertising bar at the bottom of the activity (which contains a list of items). It works ok, except for one thing! There is some sort of extra space just under the bar (it's very small but it's noticeable enough). By the way, all the paddings are set to 0 so where does this space come from?</p>
  
  <p>Thanks!</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>After investigating the issue, it turns out that the custom background (<code>#EAEAEA</code>) is causing this extra space. Still don't know how to fix this though.</p>