title: Android Layout: How to add bottom and right border into linear layout together?
body: <p>I have the following linear layout, which is used as table cell. I would like to add to selected templates right and bottom border. But now I'm able to add only border on right. </p>
  
  <p>How can i add border to selected sides at once?</p>
  
  <p>Many thanks for any advice.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="60dp"
      android:layout_height="80dp"
      android:gravity="right"
      android:background="@color/white"
      android:orientation="horizontal" &gt;
  
      &lt;LinearLayout
          android:layout_width="wrap_content"
          android:orientation="vertical"
          android:layout_gravity="center_horizontal|center"
          android:gravity="center_horizontal|center"
          android:layout_marginRight="10dp"
          android:layout_height="wrap_content"&gt;
  
      &lt;ImageView
          android:id="@+id/variable_type_first_column"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:src="@drawable/heart"
          android:layout_gravity="center_horizontal|center_vertical"
          android:gravity="center"/&gt;
  
      &lt;TextView
          android:id="@android:id/text1"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="Weight"
          android:layout_below="@id/variable_type_first_column"
          android:layout_gravity="center_horizontal|bottom"
          android:gravity="center_horizontal|bottom"
          android:textColor="@color/app_blue"
          android:textAlignment="center"
          android:textSize="12sp"/&gt;
  
      &lt;/LinearLayout&gt;
      &lt;View
          android:layout_width="1.5dip"
          android:layout_height="match_parent"
          android:layout_gravity="right"
          android:foregroundGravity="right"
          android:background="@drawable/separator_table_header_first" /&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>