title: How can I set the background of a linearLayout to be at half opacity but not it's children?
body: <p>Basically i want an activity with half transparent/black backgound.ie the parent activity gets dimmed when the new activity is launched.</p>
  
  <p>I was able to get a fully transparent background but using the following in my manifest.xml</p>
  
  <pre><code>&lt;activity android:name="com.xxx.FullPhotoActivity" android:theme="@android:style/Theme.Translucent.NoTitleBar" &gt;&lt;/activity&gt;
  </code></pre>
  
  <p>But i need the background to be kind of dark but also transparent.</p>
  
  <p>I have also tried adding alpha to my linearlauout but that applies it to the child elements as well.</p>