In Activity, you can change the display style of the status bar by modifying the properties of the Window. If you have such needs, you should also change the display style of the status bar when switching to this Fragment. However, most mobile phones have animations for switching the status bar. It is best not to frequently switch the status bar display mode in the program, but to use the same status bar method in all interfaces.
If there is only one Fragment that needs to be operated, it is the same as QQ Space. I created a new Activity and set it to have no navigation bar. Then manually implement the content changes yourself.
In Activity, you can change the display style of the status bar by modifying the properties of the Window. If you have such needs, you should also change the display style of the status bar when switching to this Fragment.
However, most mobile phones have animations for switching the status bar. It is best not to frequently switch the status bar display mode in the program, but to use the same status bar method in all interfaces.
The activity is set to have no navigation bar, and fragment is used to implement it.
If there is only one Fragment that needs to be operated, it is the same as QQ Space.
I created a new Activity and set it to have no navigation bar. Then manually implement the content changes yourself.