title: Adding Shape to LinearLayout Android
body: <p>I have a linearLayout having some autocomplete and textboxes. I want to insert a shape (rectangle) in linearlayout. How can i achieve this. I am new comer to android.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:orientation="vertical"
      android:layout_width="fill_parent"
      android:layout_height="wrap_content"    
      android:padding="5dp"
      android:id="@+id/layout"&gt;
  
      &lt;AutoCompleteTextView android:id="@+id/autocompleteCountry"
        android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:hint="@string/CONTRY_LABEL"
         /&gt;
      &lt;AutoCompleteTextView android:id="@+id/locationAutoCompleteFrom"
        android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:hint="@string/from"
          android:visibility="gone"
         /&gt;
     &lt;AutoCompleteTextView android:id="@+id/locationAutoCompleteTO"
        android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:hint="@string/to"
          android:visibility="gone"
         /&gt;
   &lt;!--    &lt;Button android:id="@+id/buttonRoute"
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
         android:text="@string/buttonRouteText"
         android:enabled="false"
         android:clickable="true"
         /&gt;
     --&gt;
  </code></pre>
  
  <p></p>