title: Aligning checkbox to the right in list view item
body: <p><img src="https://i.stack.imgur.com/RoMi0.png" alt="enter image description here"></p>
  
  <p>Its hard to see the checkbox, but I cant seem to put the box on the right side of the list item.</p>
  
  <p>
  </p>
  
  <pre><code>&lt;LinearLayout
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:gravity="left|center"
      android:orientation="vertical"
      &gt;
  
      &lt;TextView
          android:id="@+id/list_title"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_gravity="center_vertical"
          android:ellipsize="end"
          android:gravity="left|center"
          android:paddingLeft="7dp"
          android:paddingTop="5dp"
          android:singleLine="false"
          android:textColor="#FF00B8FF"
          android:textSize="14sp" /&gt;
  
      &lt;TextView
          android:id="@+id/list_subtitle"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_gravity="center_vertical"
          android:ellipsize="end"
          android:gravity="left|center"
          android:paddingBottom="14dp"
          android:paddingLeft="7dp"
          android:singleLine="false"
          android:textColor="#FFFFFFFF"
          android:textSize="14sp" /&gt;
  &lt;/LinearLayout&gt;
  
  &lt;LinearLayout
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:orientation="horizontal"
      &gt;
  
      &lt;CheckBox
          android:id="@+id/checkbox1"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_gravity="center_vertical"
           /&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p></p>
  
  <p>I want the checkbox to be on the right side of the list item. 
  Im not sure where i'm doing it incorrectly. I have tried several combinations of layout_gravity and weight. 
  Thanks!</p>