title: Set Cardview Shape & Background Semi transparent
body: <p>I have added a background Image in a linear layout and a Card View. Under CardView I added another background image of gradient and set alpha .5. When I add TextView and added Text, the text also got semi-transparent as shown in the image. I tried using Bold appearance but it didn't work.
  <a href="https://i.stack.imgur.com/giW7y.png" rel="nofollow noreferrer">I have uploaded the Image</a></p>
  
  <pre><code>   &lt;?xml version="1.0" encoding="utf-8"?&gt;
   &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
       xmlns:app="http://schemas.android.com/apk/res-auto"
       xmlns:tools="http://schemas.android.com/tools"
       android:layout_width="match_parent"
       android:layout_height="match_parent"
       tools:context="com.vikramgehlot.QuotesandStatus.Apj"
       android:background="@drawable/materialbackground" &gt;
      &lt;ScrollView
          android:layout_width="match_parent"
          android:layout_height="match_parent"&gt;
       &lt;LinearLayout
           android:layout_width="match_parent"
           android:layout_height="215dp"
           android:orientation="vertical"&gt;
           &lt;ImageView
               android:layout_marginTop="0dp"
               android:layout_width="match_parent"
               android:layout_height="215dp"
               android:src="@drawable/ic_format_quote_black_24dp" /&gt;
   &lt;LinearLayout
       android:layout_width="match_parent"
       android:layout_height="match_parent"&gt;
       &lt;android.support.v7.widget.CardView
         android:layout_margin="10dp"
           android:layout_width="350dp"
           android:layout_height="70dp"
           app:cardCornerRadius="40dp"
           android:alpha=".5"&gt;
           &lt;LinearLayout
               android:layout_margin="6dp"
               android:layout_width="match_parent"
               android:layout_height="match_parent"
               android:background="@drawable/rectangle"
               android:alpha=".5"&gt;
               &lt;TextView
                   android:layout_width="match_parent"
                   android:layout_height="match_parent"
                   android:gravity="fill"
                   android:text="Don’t let a mad world tell you that success is anything other than a successful present moment. "
                   android:textColor="@color/black"
                   android:textStyle="bold"
                   android:textSize="13dp"
                 /&gt;
           &lt;/LinearLayout&gt;
       &lt;/android.support.v7.widget.CardView&gt;
   &lt;/LinearLayout&gt;
       &lt;/LinearLayout&gt;
      &lt;/ScrollView&gt;
       &lt;/LinearLayout&gt;
  </code></pre>