Create a Border in a ListView
<p>It's pritty hard to explain what I like to have. In my Layout I got a horizontal LinearLayout.
Now I'd like to know if its possible to create a thin border around it. For example take a look at the ListView, there it also haves those thin borders, I exactly like to have that in my LinearLayout.</p>

<p>I hope you understood me, if you need more information write a comment below.
Thx in advance
safari</p>

<p>Additional Information:
If you take a look at the screenshot you see there those redlines, exactly there i'd like to have those thin borders, like in my Listview up there! Under the screenshot you also find the code of the layout.</p>

<p><img src="http://i.stack.imgur.com/ax0Si.png" alt="What I want"></p>

<blockquote>
  <p></p>
</blockquote>

<p><strong>Code</strong></p>

<hr>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;

&lt;FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@android:id/tabcontent"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="vertical"&gt;

       &lt;TabHost xmlns:android="http://schemas.android.com/apk/res/android"
        android:id="@android:id/tabhost"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"&gt;




        &lt;RelativeLayout
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:orientation="vertical" &gt;


           &lt;FrameLayout
               android:id="@android:id/tabcontent"
               android:layout_width="fill_parent"
               android:layout_height="450dp"
               android:layout_weight="1" /&gt;

               &lt;TabWidget
                   android:id="@android:id/tabs"
                   android:layout_width="fill_parent"
                   android:layout_height="wrap_content"
                   android:layout_alignBottom="@android:id/tabcontent"
                   android:visibility="invisible" /&gt;



                &lt;LinearLayout
                    android:id="@+id/SmileyContent"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_alignParentBottom="true"
                    android:layout_alignParentLeft="true"
                    android:layout_alignParentRight="true"
                    android:layout_below="@android:id/tabcontent"
                    android:layout_weight="1" &gt;

                    &lt;TableRow
                        android:id="@+id/GoStartseite"
                        android:layout_width="wrap_content"
                        android:layout_height="match_parent"
                        android:onClick="onClickGoStartseite"
                        android:gravity="center"
                        android:layout_weight="0.6" &gt;

                        &lt;TextView
                            style="@style/SmallFont"
                            android:text="@string/gostartseite" /&gt;
                    &lt;/TableRow&gt;

                    &lt;TableRow
                        android:id="@+id/SmileyOverview"
                        android:layout_width="wrap_content"
                        android:layout_height="match_parent"
                        android:onClick="onClickSmileyConfig"
                        android:gravity="center"
                        android:layout_weight="0.4" &gt;

                        &lt;TextView
                            style="@style/SmallFont"
                            android:text="@string/newfilter"/&gt;

                    &lt;/TableRow&gt;

                &lt;/LinearLayout&gt;

       &lt;/RelativeLayout&gt;
      &lt;/TabHost&gt;

  &lt;/FrameLayout&gt;
</code></pre>
