title: Android: Offset ImageView in Center slightly
body: <p><img src="https://i.stack.imgur.com/RUGIW.png" alt="enter image description here"></p>
  
  <p>We say that the following image is in the center. To do this I use the following code.</p>
  
  <pre><code>&lt;RelativeLayout
      android:layout_width="0dp"
      android:layout_height="match_parent"
      android:layout_weight="10"
      android:orientation="vertical" &gt;
      &lt;ImageView
          android:src="@drawable/logo"
          android:layout_centerInParent="true"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"/&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>It has been working for a deadcenter positioning. I would like to do the following, and just offset it slightly upwards. As you see I do not want the image to cross the center line (I know how to fix that by adding an invisible view).</p>
  
  <p><img src="https://i.stack.imgur.com/vjr7l.png" alt="enter image description here"></p>