title: List Layout on Android, how to make buttons right-aligned?
body: <p>I've been finding the way to make the buttons right-aligned, but wasn't successful. Need a little help here.</p>
  
  <pre><code>&lt;LinearLayout android:id="@+id/categoryRowLayout"
      android:layout_width="fill_parent" android:layout_height="fill_parent"
      xmlns:android="http://schemas.android.com/apk/res/android"&gt;
  
      &lt;TextView android:text="category" android:id="@+id/categoryRow"
          android:layout_width="wrap_content" android:layout_height="wrap_content"&gt;
      &lt;/TextView&gt;
      &lt;Button android:text="Edit" android:id="@+id/editCategoryBtn"
          android:layout_width="wrap_content" android:layout_height="wrap_content"
          android:onClick="editCategoryHandler"&gt;
      &lt;/Button&gt;
      &lt;Button android:text="Delete" android:id="@+id/deleteCategoryBtn"
          android:layout_width="wrap_content" android:layout_height="wrap_content"
          android:onClick="deleteCategoryHandler"&gt;
      &lt;/Button&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>Screenshot:</p>
  
  <p><img src="https://i.stack.imgur.com/AXYEf.png" alt="enter image description here"></p>