title: How to design a list item of listview
body: <p>I have a list view with Two text labels and three image buttons on each row. Visually, I want each row to look like this:</p>
  
  <p><img src="https://i.stack.imgur.com/u1sQh.png" alt="enter image description here"></p>
  
  <p>But I can't get this to work in my layout. This is what I'm doing right now. Even though the two labels are showing up ok, the buttons are not showing as I want them to. </p>
  
  <p><strong>Question</strong></p>
  
  <p>How can I align the buttons as in the mockup? </p>
  
  <p></p>
  
  <pre><code>&lt;TextView
      android:id="@+id/color_name"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:paddingBottom="15dip"
      android:paddingLeft="5dip"
      android:paddingTop="15dip"
      android:textColor="#000000"
      android:textSize="16dip"
      android:layout_toRightOf="@+id/track_no"/&gt;
  
  &lt;LinearLayout
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:layout_alignLeft="@id/shade_count"
      android:layout_below="@id/shade_count"
      android:gravity="center_vertical"
      android:orientation="horizontal" &gt;
  
      &lt;TextView
          android:id="@+id/shade_count"
          style="@style/ListSubtitleText"
          android:textColor="#ff868686"
          android:layout_width="0dp"
          android:layout_weight="1"
          android:paddingLeft="5dip"
          android:singleLine="true" /&gt;
  &lt;/LinearLayout&gt;
  
      &lt;ImageButton
          android:id="@+id/star"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:src="@drawable/star"/&gt;
  
      &lt;ImageButton
          android:id="@+id/share"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:background="#000000"
          android:src="@drawable/share"/&gt;
  
      &lt;ImageButton
          android:id="@+id/delete"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:src="@drawable/delete" /&gt;
  </code></pre>
  
  <p></p>