Question Detail

Hi,

I am on my splash screen, using a blank activity, but it shows a default header.... wan't to remove that header for my splash screen and my background image is also stretched <---horizontally--->, why it is streached I don't get that , please help.


Thread Reply

Hemant Sharma

- 11 months ago

You can remove / Hide Activity Header From your SplashActivity in many ways 

often I use for hiding Activity Header

Just extends Activity Instead of AppCompatActivity

or

ActionBar actionBar = getSupportActionBar();
actionBar.hide();

Hemant Sharma

- 11 months ago

You can remove / Hide Activity Header From your SplashActivity in many ways 

often I use for hiding Activity Header

Just extends Activity Instead of AppCompatActivity

or

ActionBar actionBar = getSupportActionBar();
actionBar.hide();