title: how to set colored border on cardview
body: <p>I am implementing card view but I can't find any border option to set a border on it.</p>
  <p>here is my card.xml:</p>
  <pre><code>&lt;android.support.v7.widget.CardView android:layout_marginTop=&quot;10dp&quot;
    android:id=&quot;@+id/cardView&quot;
    android:layout_width=&quot;match_parent&quot;
    android:layout_height=&quot;wrap_content&quot;
    xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
    card_view:cardPreventCornerOverlap=&quot;false&quot;
    app:cardPreventCornerOverlap=&quot;false&quot;
    xmlns:card_view=&quot;http://schemas.android.com/tools&quot;
    xmlns:app=&quot;http://schemas.android.com/apk/res-auto&quot;&gt;
  
    &lt;RelativeLayout
       android:background=&quot;@drawable/tab_bg&quot;
       android:layout_width=&quot;match_parent&quot;
       android:layout_height=&quot;wrap_content&quot;
       android:padding=&quot;16dp&quot;&gt;
  
       &lt;TextView
           android:id=&quot;@+id/title&quot;
           android:layout_width=&quot;wrap_content&quot;
           android:layout_height=&quot;wrap_content&quot;
           android:text=&quot;Title&quot;
           android:textSize=&quot;20sp&quot; /&gt;
  
    &lt;/RelativeLayout&gt;
  
  &lt;/android.support.v7.widget.CardView&gt;
  </code></pre>
  <p>here is my image that I want to implement that green border on card view?</p>
  <p><a href="https://i.stack.imgur.com/R304T.png" rel="noreferrer"><img src="https://i.stack.imgur.com/R304T.png" alt="enter image description here" /></a></p>
  <p>Help me. How can I implement this thing? I have no clue.</p>
  <p>Thank you.</p>