When i launch my application , it shows up a title bar at the top containing application name, How to set Full Screen view of your main activity , when application is launched.
Asked
Active
Viewed 195 times
-2
-
Refer the [link](http://stackoverflow.com/questions/2868047/fullscreen-activity-in-android) – hareesh J Dec 29 '14 at 07:12
3 Answers
2
In you application's manifest file , set the following propery in <application>
TAG.
android:theme="@android:style/Theme.NoTitleBar.Fullscreen

Aown Raza
- 2,023
- 13
- 29
-
want hide only bottom navigation bar not the status bar. Is it possible to do? – PvDev Sep 05 '18 at 05:23
2
You can do this programmatically as below
requestWindowFeature(Window.FEATURE_NO_TITLE);
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
WindowManager.LayoutParams.FLAG_FULLSCREEN);
setContentView(R.layout.yourlayout);
on the create activity and before setting our layout

Spry Techies
- 896
- 6
- 21

Abhishek Chaubey
- 2,960
- 1
- 17
- 24
0
you can use <item name="android:windowActionBar">false</item>
to remove Actionbar and
<item name="android:windowNoTitle">true</item>
to remove title in style
.

Shvet
- 1,159
- 1
- 18
- 30
-
want hide only bottom navigation bar not the status bar. Is it possible to do? – PvDev Sep 05 '18 at 05:23