TextView setTextColor is ignored when LinearLayout android:background is set
<p>The code is at the very bottom. I can change the color of the text [android:id="@+id/vonage_login_status"] by running </p>

<pre><code>vonage_login_status.setTextColor(this.getResources().getColor(R.color.light_grey));
</code></pre>

<p>However, I want a different colored background, so I added the line <code>android:background="@color/background</code>
But after I added the line, the setTextColor method is being ignored. Any ideas how do I fix it?</p>

<p>Thanks for reading....</p>

<pre><code>    &lt;?xml version="1.0" encoding="utf-8"?&gt;
    &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:background="@color/background"
        android:orientation="horizontal"&gt;
            &lt;LinearLayout
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:orientation="vertical"
                android:layout_weight="1"
                android:gravity="center_vertical"&gt;
                &lt;LinearLayout
                android:id="@+id/vonage_login_status_view"
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:orientation="horizontal"
                android:clickable="true"&gt;
                &lt;TextView
                    android:layout_height="wrap_content"
                    android:layout_width="fill_parent"
                    android:layout_gravity="center"
                    android:id="@+id/vonage_login_status"
                    android:layout_weight="1"
                    android:gravity="left"
                    android:singleLine="true"
                    android:ellipsize="end"
                    android:padding="0px"&gt;
                    &lt;/TextView&gt;  
                &lt;/LinearLayout&gt;
        &lt;/LinearLayout&gt;
&lt;/RelativeLayout&gt;
</code></pre>
