Tạ Bích Hạnh
Member
How do I permanently hide the navigation bar in Android activity?
Answer
How to Hide the Status Bar and the Navigation Bar in Android
Answer
How to Hide the Status Bar and the Navigation Bar in Android
- Create a Layout. You’ll need a layout file for your Activity. So, create one now. …
- 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.