title: Align Text and Images perfectly next to Each Other
body: <p>I am trying to line up the text and images next to each other in a perfect line but cant quite get it center.</p>
  
  <p>As you see with the image it's almost center next to each other but not perfectly what am I missing</p>
  
  <p><img src="https://i.stack.imgur.com/dmTmM.jpg" alt="enter image description here"></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:layout_alignParentLeft="true"
  android:layout_alignParentRight="true"
  android:layout_alignParentTop="true" &gt;
  
      &lt;TextView
          android:id="@+id/textView1"
          android:textSize="14dp"
          android:textStyle="bold"
          android:gravity="center_vertical"
          android:layout_gravity="center_vertical"
          android:layout_marginLeft="5dp"
          android:layout_marginTop="10dp"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="TextView" /&gt;
  
      &lt;ImageView
          android:id="@+id/imageView1"
          android:layout_marginLeft="5dp"
          android:layout_marginTop="10dp"
          android:layout_toRightOf="@+id/textView1"
          android:layout_gravity="center_vertical|right"
          android:gravity="center_vertical|right"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:src="@drawable/image_ls"
  
  
           /&gt;
  
      &lt;TextView
          android:id="@+id/textView2"
          android:textSize="14dp"
          android:layout_marginLeft="5dp"
          android:layout_marginTop="10dp"
          android:textStyle="bold"
          android:layout_toRightOf="@+id/imageView1"
          android:layout_gravity="center_vertical|right"
          android:gravity="center_vertical|right"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="TextView"
  
           /&gt;
  
      &lt;ImageView
          android:id="@+id/imageView2"
          android:layout_marginLeft="5dp"
          android:layout_marginTop="10dp"
          android:layout_toRightOf="@+id/textView2"
          android:layout_gravity="center_vertical|right"
          android:gravity="center_vertical|right"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:src="@drawable/image_ls"
           /&gt;
  
      &lt;TextView
          android:id="@+id/textView3"
          android:layout_toRightOf="@+id/imageView2"
          android:layout_gravity="center_vertical|right"
          android:gravity="center_vertical|right"
          android:layout_marginLeft="5dp"
          android:layout_marginTop="10dp"
          android:textSize="14dp"
          android:textStyle="bold"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="TextView"
  
          /&gt;
  
  
  &lt;/RelativeLayout&gt;
  </code></pre>