title: Transparent Layout...?
body: <p>i have a requirement...i want transparent layout(80% transparent like that), so that the background should visible. Is there any way to do the same..????</p>
  
  <p>I tried that(But not working..that second linear layout should transparent)</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="fill_parent"
      android:layout_height="fill_parent"
      android:orientation="vertical"
      android:background="#C0C0C0"&gt;
  
  
  
      &lt;LinearLayout
          android:id="@+id/linearLayout1"
          android:layout_width="match_parent"
          android:layout_height="60dip" 
          android:background="@drawable/style"&gt;
  
          &lt;TextView
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:text="@string/hello" /&gt;
  
      &lt;/LinearLayout&gt;
  
  &lt;/LinearLayout&gt;
  
  &lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;resources&gt;
       &lt;style name="YourTheme" parent="android:@Theme.Translucent"&gt;
             &lt;item name="android:windowBackground"&gt;@color/background&lt;/item&gt;
       &lt;/style&gt;
  &lt;/resources&gt;
  
  &lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;resources&gt;
       &lt;color name="background"&gt;#55000000&lt;/color&gt;
  &lt;/resources&gt;
  </code></pre>
  
  <p>but its not working.
  That 2nd linear laout should be transparent.</p>
  
  <p>Thanks.....</p>