title: Android Studio Layout Editor: How do I center these views in the middle of this Layout
body: <p>In the <a href="http://i.imgur.com/V7ptMXY.jpg" rel="nofollow">screenshot</a>, you can see I've drawn in red arrows indicating that I want to shift the widgets to the right a bit. In other words, I want to center things, and yet I'm having difficulty.</p>
  
  <p>Below is the XML:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:id="@+id/linearLayout1"
      android:layout_width="wrap_content"
      android:layout_height="fill_parent"
      android:orientation="vertical"&gt;
  
      &lt;DatePicker
          android:id="@+id/datePicker"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:calendarViewShown="false"
          android:layout_alignParentTop="true" android:layout_alignParentStart="true"
              &gt;
      &lt;/DatePicker&gt;
      &lt;TimePicker
          android:id="@+id/timePicker"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_below="@+id/datePicker" android:layout_alignParentStart="true"&gt;
      &lt;/TimePicker&gt;
      &lt;Button
              android:id="@+id/btnSave"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:textSize="25sp"
              android:text="@string/ok"
              android:layout_below="@+id/timePicker" android:layout_alignParentStart="true"
              android:layout_alignEnd="@+id/timePicker"/&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>