Android 5.0设置全屏无标题

阅读 47

2022-07-27


在style.xml中定义:

<style name="FullScreenTheme" parent="Theme.AppCompat.Light.NoActionBar">
<!-- Customize your theme here. -->
<item name="android:windowFullscreen">true</item>
</style>

使用:

<activity android:name=".ui.SplashActivity" android:screenOrientation="portrait"
android:theme="@style/FullScreenTheme"


精彩评论(0)

0 0 举报