Android应用启动,默认显示一个带导航条的空白界面,影响用户体验,解决方法很简单
1、定义style
<style name="ActivityTheme" parent="@android:style/Theme.NoTitleBar">
<item name="android:windowIsTranslucent">true</item>
</style>
2、引用style
然后Manifest中,启动的Activity引用这个style即可。
本文介绍了一种简单的方法来移除Android应用启动时默认显示的带有导航条的空白界面,通过定义并应用一个特定的主题样式,可以有效提升用户体验。
313

被折叠的 条评论
为什么被折叠?



