'什么是android:theme =" @ * android ........''请帮助清单中的错误

时间:2017-05-11 04:06:00

标签: android android-manifest

<activity android:theme="@*android:style/Theme.Translucent.NoTitleBar" 
       android:label="@string/app_name"
       android:name="com.facebook.FacebookActivity"
       android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize" /> 

android中的错误:theme =&#34; @ * android:style / Theme.Translucent.NoTitleBar&#34; 无法解决。

来自清单

3 个答案:

答案 0 :(得分:1)

将其更改为bbbb bb df sdf print word : he length : 2 print word : he's length : 4 print word : halp length : 4 print word : hapless length : 7 print word : hello length : 5 PLEASE hello hello hello hello hello zzz 。您在@ syb

之后添加了*

替换

android:theme="@android:style/Theme.Translucent.NoTitleBar"

android:theme="@*android:style/Theme.Translucent.NoTitleBar" 

答案 1 :(得分:1)

您是否尝试删除@和android之间的星号(*):style / Theme.Translucent.NoTitleBar?

应该只是:android: theme="@android:style/Theme.Translucent.NoTitleBar"

答案 2 :(得分:1)

在清单中为您的活动添加主题

<activity android:name=".activityName"
 android:theme="@android:style/Theme.Translucent"/>

<activity android:name=".activityName"
android:theme="@android:style/Theme.Translucent.NoTitleBar"/>
相关问题