title: Android: ImageView in center screen
body: <p>I have a background image in full screen with a <code>RelativeLayout</code>. And other image (100x100) in an <code>ImageView</code>.</p>
  
  <p>I want to put the <code>ImageView</code> in center screen. But my image shows top left.</p>
  
  <p>What is the problem?</p>
  
  <p><strong>XML</strong></p>
  
  <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:background="@drawable/fondo_inicio" &gt;
  
  &lt;ImageView android:layout_width="80dp"
      android:layout_height="80dp"
      android:layout_gravity="center"
      android:gravity="center"
      android:background="@drawable/icono_inicio"/&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>