How to set the background color of new activity after clicking tabs
<p>I am switching activities on tab clicks and successful at this. But, in one of my Activity class I am doing the following: 
<code>public void onCreate(Bundle savedInstanceState){ super.onCreate(savedInstanceState); setContentView(R.layout.main);}</code></p>

<p>main.xml has the following:</p>

<pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"

android:layout_width="fill_parent"
android:layout_height="fill_parent"
    android:background="#BDBDBD"
&gt;
</code></pre>

<p></p>

<p>I want to change the background of this layout only and I want tabs to their as it is. But with the currentandroid:layout_height="fill_parent"in main.xml my background is overwriting the tabs which means I am unable to see tabs. and If I makeandroid:layout_height="wrap_content"` I cannot see any change taking and tabs are still their.</p>
