title: How to place an android component offset from center?
body: <p>I want to place my imageview a little above the center. I have used centerHorizontal="true" along with paddingBottom , but it is placed in the absolute center. "padding" is not doing the work. What should i do?</p>
  
  <pre><code>&lt;ImageView
      android:id="@+id/imageview"
      style="@style/myImageView"
      android:layout_width="200dp"
      android:layout_height="100dp"
      android:layout_centerHorizontal="true"
      android:paddingBottom="300dp"
      android:src="@drawable/ic_launcher" /&gt;
  </code></pre>