How do I permanently hide the navigation bar in Android activity?

How do I permanently hide the navigation bar in Android activity?
Answer
How to Hide the Status Bar and the Navigation Bar in Android
  1. Create a Layout. You’ll need a layout file for your Activity. So, create one now. …
  2. Use the Layout. In your Activity , inside the onCreate() method, pass the layout you just created to the setContentView() method. Once you do so, you’ll be able to use the findViewById() method to get a reference to the mylayout view.
12 сент. 2016 г.
 

Tìm kiếm

Back
Top