title: Placing ImageView to the left of centered buttons
body: <p>I am trying to place a ImageView object to the left of a linear layout object (that is a parent of two buttons). I basically want two buttons centered horizontally with the screen with an image place to the left of the centered buttons. I still want the buttons to remain centered horizontally, the placed image view should not be centered, just merely to the side.</p>
  
  <p>Any suggestions would be really great. I may have been approaching my problem with the wrong layouts but here is what I have tried:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout
      android:id="@+id/gameSettingsContainer"
      xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:app="http://schemas.android.com/apk/res-auto"
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:fitsSystemWindows="true"
      tools:context="com.example.vb1115.multchoicequestion.LaunchScreen"
      android:orientation="vertical"
      android:gravity="center_horizontal"&gt;
      &lt;LinearLayout
          android:id="@+id/buttonContainer"
          xmlns:android="http://schemas.android.com/apk/res/android"
          android:orientation="horizontal"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"&gt;
          &lt;ToggleButton android:id="@+id/mathButton"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:textOff="Math"
              android:textOn="Math"
              android:text="Math"/&gt;
          &lt;ToggleButton android:id="@+id/bioButton"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:textOff="Biology"
              android:textOn="Biology"
              android:text="Biology"/&gt;
      &lt;/LinearLayout&gt;
      &lt;ImageView
          android:id="@+id/animatedArrow"
          android:src="@mipmap/green_arrow"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_alignParentTop="true"
          android:layout_alignParentLeft="true"
          android:layout_toLeftOf="@id/buttonContainer"/&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>