Facebook Twitter RSS Feed      

How to hide navigation bar permanently in android activity?   

How to hide navigation bar permanently in android activity?

Postby virginialuther12 » Mon Feb 20, 2017 9:22 am

I want to conceal navigation bar enduringly in my activity(not whole system ui). now I am using this piece of code

getWindow().getDecorView().setSystemUiVisibility(View].SYSTEM_UI_FLAG_HIDE_NAVIGATION);

It hide the bar but when user touches the screen it showing again. Is there is any way to hide it enduringly until activity onStop();I refered some sites like (http://usawriters.org/).But Didn't get answer
virginialuther12 offline


Junior Member



 
Joined: Mon Feb 20, 2017 9:13 am
Posts: 1
Has thanked: 0 time
Been thanked: 0 time

Return to Android Discussion

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 1 guest