android:theme="@android:style/Theme.Light.NoTitleBar.Fullscreen"设置全屏程序闪退解决办法
2017-04-13 23:37
1561 查看
当我们需要设置全屏的时候,可能会在manifast中设置android:theme="@android:style/Theme.Light.NoTitleBar.Fullscreen"
然后程序可能会崩溃
原因很简单,看一下你的Activity是不是继承的AppCompatActivity
如果是的话改成继承Activity就好了
然后程序可能会崩溃
原因很简单,看一下你的Activity是不是继承的AppCompatActivity
如果是的话改成继承Activity就好了
相关文章推荐
- android全屏设置代码:android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
- android Theme 设置为Android:style/Theme.Light.NoTitleBar.Fullscreen 程序秒退
- 项目中添加 android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen"应用崩溃
- android:theme="Theme.Wallpaper.NoTitleBar.Fullscreen"相关问题
- android:theme="@android:style/Theme.NoTitleBar"
- 解决android:theme="@android:style/Theme.NoDisplay" 加入这句话后程序不能运行
- android:theme="@android:style/Theme.NoTitleBar"
- android的Theme.Light.NoTitleBar和Theme.Light.NoTitleBar.Fullscreen的区别
- 解决安卓manifest中的application标签中@android:style/Theme.NoTitleBar崩溃的问题
- 解决No resource found that matches the given name 'android:Theme.Material.Light.DarkActionBar'
- android:theme="@android:style/Theme.NoDisplay"
- Android设置requestWindowFeature(Window.FEATURE_NO_TITLE)无效的解决办法
- [Androidstudio]的坑之【@android:style/Theme.Black.NoTitleBar】
- Android中全屏 取消标题栏,TabHost中设置NoTitleBar的三种方法
- Android中全屏 取消标题栏,TabHost中设置NoTitleBar的三种方法(转)
- 解决无法在theme中设置NoTitleBar属性的问题
- Android开发笔记之主题背景的修改(设置Theme.NoTitleBar后Activity背景变成黑色)
- Android中全屏取消标题栏,TabHost中设置NoTitleBar的三种方法
- No resource found that matches the given name 'android:Theme.Material.Light.DarkActionBar'
- 新建Android项目报错"No resource found that matches the given name 'Theme.AppCompat.Light'."