title: Positioning the logo to center in android
body: <p>I am using this code for the image:</p>
  
  <pre><code>&lt;ImageView android:src="@drawable/logo"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_marginLeft="50dip"/&gt;
  </code></pre>
  
  <p>I want the logo to be centered , it can be done by varying the Layout margin left  value and check and position it, but is there any command to get it centered?</p>