title: How to use border (drawable) in a relative layout?
body: <p>I have a drawable (xml) like this.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle"&gt;
  &lt;corners android:radius="10dp"/&gt;
  &lt;padding android:left="5dp" android:right="5dp" android:top="5dp" android:bottom="5dp"/&gt;
  &lt;solid android:color="#FF00FF00"/&gt;
  &lt;/shape&gt;
  </code></pre>
  
  <p>My button is within a parent linear layout.</p>
  
  <pre><code>&lt;LinearLayout
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_gravity="center_horizontal"
      android:background="@drawable/custombordergreen"
      android:orientation="vertical"&gt;
  
      &lt;Button
          android:id="@+id/startClock"
          style="?android:attr/buttonStyleSmall"
          android:layout_width="204dp"
          android:layout_height="66dp"
           android:text="@string/start"
          android:textSize="22sp"
          android:layout_gravity="center_horizontal"
          android:background="@drawable/startbutton"/&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>But I can't use that technique if the button is already a sibling (and referenced in "toLeftOf") in a relative layout.</p>
  
  <p>Short of re working the layout to avoid "relative", is there another way to put a border around my button?</p>