Changing background color in a activity.
<p>I used Android Studio to create basic activity using New -> Activity -> Basic Activity. But the activity background colour is black. I know it is to reduce battery consumption. But is there a way to change it to white colour, without changing style.</p>

<p>I tried to change the background colour of the root layout, but then it won't show hint text of edit text field. Because it's colour is white. </p>

<p>Then I tried to change theme from Material to Material Lite, then it wouldn't show the change when I run the app in the device.</p>

<p><a href="https://i.stack.imgur.com/0qJ7E.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0qJ7E.png" alt="enter image description here"></a> </p>

<p>Here is the activity declaration in AndroidManifest.xml</p>

<pre><code>&lt;activity
    android:name=".SearchBus"
    android:label="@string/title_activity_search_bus"
    android:parentActivityName=".MapsActivity"
    &gt;
    &lt;meta-data
        android:name="android.support.PARENT_ACTIVITY"
        android:value="uk.co.stableweb.iroute.MapsActivity" /&gt;
&lt;/activity&gt; 
</code></pre>