Today we are going to demonstrate how to remove title head from Android App.
As you are seeing pic we want to remove RX Title Head from App. For doing that we have to change some settings in our Project in Android Studio.
1) In Style xml change
<style name="SplashTheme" parent="Theme.AppCompat.Light.ActionBar">
To the following code.
<style name="SplashTheme" parent="Theme.AppCompat.Light.NoActionBar">
Just need to write Light.NoActionBar
Whole code is following…….
<resources>
<!-- Base application theme. --><style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
<!-- Customize your theme here. --> <item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
</style>
<style name="SplashTheme" parent="Theme.AppCompat.Light.NoActionBar">
<!-- Customize your theme here. --> <item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
<item name="android:windowBackground">@drawable/splash_activity_background</item>
</style>
</resources