首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > Android >

android设置界面全屏时IDE报错,该如何处理

2013-11-20 
android设置界面全屏时IDE报错activity?android:name.Activity2?android:theme@android:style/andro

android设置界面全屏时IDE报错
<activity?android:name=".Activity2"?android:theme="@android:style/android.NoTitleBar.Fullscreen"></activity>?

报错:Error:?No?resource?found?that?matches?the?given?name?(at?'theme'?with?value?'@android:style/android.NoTitleBar.Fullscreen').

style文件:
<resources>
?<!--
?Base?application?theme,?dependent?on?API?level.?This?theme?is?replaced
?by?AppBaseTheme?from?res/values-vXX/styles.xml?on?newer?devices.
?-->
?<style?name="AppBaseTheme"?parent="android:Theme.Light">
?<!--
?Theme?customizations?available?in?newer?API?levels?can?go?in
?res/values-vXX/styles.xml,?while?customizations?related?to
?backward-compatibility?can?go?here.
?-->
?</style>
?<!--?Application?theme.?-->
?<style?name="AppTheme"?parent="AppBaseTheme">
?<!--?All?customizations?that?are?NOT?specific?to?a?particular?API-level?can?go?here.?-->
?</style>
</resources>

热点排行