Summary of full screen and non full screen switching setting method developed by Android
This paper describes the switching setting method between full screen and non full screen developed by Android. Share with you for your reference, as follows:
Static method
1. Code mode
Set in oncreate method of activity class. The code is as follows
Requestwindowfeature and getwindow(). Setflags must be placed before the setcontentview method
2. File configuration method
In the androidmanifest.xml file, find the attribute and set it as follows:
Dynamic method
1. Window mode
2. View mode
reference material: https://www.oudahe.com/p/24326/
More readers interested in Android related content can view the special topics of this site: introduction and advanced tutorial of Android development, summary of Android view skills, summary of activity operation skills of Android programming, summary of Android file operation skills, summary of Android resource operation skills and summary of Android control usage
I hope this article will help you in Android programming.