title: Opaque TextView within transparent RelativeLayout container
body: <p>I have a RelativeLayout container with a background image and some text in TextViews on top of the image. The entire container has a 95% opacity (0.95 alpha), but I want the TextViews to be at full opacity. I can't make just the image LinearLayout have the transparency because I have two overlapping images in the RelativeLayout (the blue_background LinearLayout, and the blue_bottom_part ImageView) that both need to be at 0.95 alpha (and I can't separately set them at 0.95 alpha, because the overlapping portion will then show up).</p>
  
  <p>I've tried adding</p>
  
  <pre><code>android:alpha="1.0"
  </code></pre>
  
  <p>to the TextViews, but this doesn't seem to override the transparency of the whole RelativeLayout container.</p>
  
  <p>I've also tried overriding this programmatically:</p>
  
  <pre><code>myTextView.setAlpha(1.0f);
  </code></pre>
  
  <p>None of these have worked.</p>
  
  <p>Here is the XML (stripped down a bit) of the layout:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;MyCustomRelativeLayout
      xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:alpha="0.95"&gt;
    &lt;LinearLayout
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_centerHorizontal="true"
        android:layout_alignParentBottom="true"
        android:orientation="vertical"
        android:background="@drawable/blue_background"&gt;
      &lt;TextView
          android:id="@+id/my_title_textview"
          android:layout_width="fill_parent"
          android:layout_height="fill_parent"
          android:textStyle="bold"
          /&gt;
      &lt;TextView
          android:id="@+id/my_body_textview"
          android:layout_width="fill_parent"
          android:layout_height="fill_parent"
          /&gt;
    &lt;/LinearLayout&gt;
    &lt;ImageView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_centerHorizontal="true"
        android:layout_alignParentBottom="true"
        android:background="@drawable/blue_bottom_part"
        /&gt;
  &lt;/MyCustomRelativeLayout&gt;
  </code></pre>
  
  <p>How can I keep the whole container (both background images) at 95% transparency while making the text fully opaque?</p>
  
  <p>Any help is appreciated!</p>