Sunday, 21 December 2014

Remove white screen before app lanuch

Remove white screen before app launch

For remove the white screen with the actionbar you need to set the theme for your splash screen or first launch screen.

Follow the simple steps to remove the white screen with actionbar before app started.

1.Create style

<style name="Theme" parent="android:style/Theme" />
<style name="SplashTheme" parent="Theme">
    <item name="android:windowNoTitle">true</item>
    <item name="android:windowContentOverlay">@null</item>
    <item name="android:windowBackground">@android:color/holo_red_dark</item>


2.Set the style into the activity theme

 android:theme="@style/SplashTheme"

finished .Now your app will launch without actionbar and full screen.

Thanks









2 comments:

Anonymous said...

Thanks buddy. Its helping me alot.

Velmurugan said...

Welcome.