Want all Windows full-screen untitled, modify
Res\values\styles.xml to set themes and styles
<resources> <!-- Base application theme, dependent on API level. This theme was replaced by Appbasetheme from res/values-vxx/ styles.xml on newer devices. --<style name= "Appbasetheme" parent= "Android:Theme.Light" > <!-- Theme Customizati ONS available in newer API levels can go with res/values-vxx/styles.xml, while customizations related to backward- compatibility can go here. -</style> <!--application theme. --<style name= "Apptheme" parent= "Appbasetheme" > <!--Set Untitled--<item name= "Android:win Downotitle >true</item> <!--set Full screen-<item name= "Android:windowfullscreen" >true</ite M> <!--All customizations this is not specific to a particular api-level can go. --</style></resources>
If you want to set a single window, use the following 2 methods
1. Modify Androidmanifest.xml
<activity android:name= ". Convert " android:label=" @string/app_name " android:theme=" @android: style/ Theme.NoTitleBar.Fullscreen "> <intent-filter> <action android:name=" Android.intent.action.MAIN "/> <category android:name=" Android.intent.category.LAUNCHER "/> < /intent-filter>
Add Android:theme= "@android: Style/theme.notitlebar.fullscreen"
2. Set in code
GetWindow (). SetFlags (Windowmanager.layoutparams.flag_fullscreen,windowmanager.layoutparams.flag_fullscreen); This.requestwindowfeature (Window.feature_no_title);
Android TV fullscreen without title