Generally, the Android app has a welcome interface when it is started, similar to the qqhd startup interface. Elegant and elegant. The heart is not as good as action, and you have time to achieve similar effects.
It is easy to observe and find that the welcome page of qqhd is full screen. The following describes how an Android app calls the full screen mode.
There are two ways to fill the screen of the android program.
1. Write Code directly
@ Override
Protected void oncreate (bundle savedinstancestate)
{
Requestwindowfeature (window. feature_no_title );
Getwindow (). setflags (windowmanager. layoutparams. flag_fullscreen, windowmanager. layoutparams. flag_fullscreen );
Super. oncreate (savedinstancestate );
Setcontentview (R. layout. Welcome );
}
2. Configure androidmanifest. xml
<Application
Android: icon = "@ drawable/ic_launcher" Android: Label = "@ string/app_name">
<Activity
Android: Name = ". Welcome" Android: Label = "@ string/app_name" Android: theme = "@ Android: style/theme. notitlebar. fullscreen" 8>
<Intent-filter>
<Action Android: Name = "android. Intent. Action. Main"/>
<Category Android: Name = "android. Intent. Category. launcher"/>
</Intent-filter>
</Activity>
<Activity
Android: Name = ". aboutapp" Android: Label = "@ string/aboutapp_title" Android: theme = "@ Android: style/theme. Dialog"/>