Android 透明窗体 设置背景啊,android:background="#00ffffff",前面两个0是设置透明度,后面六个f是设置颜色,每两位对应三原色的一种颜色的值 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 我试过了不管用,app.xml也改过了。 tryandroid:theme="@android:style/Theme.Translucent" <!-- Specify Android specific tags that get passed to AndroidManifest.xml file. --> <android> <manifestAdditions> <![CDATA[ <manifest android:installLocation="auto"> <uses-permission android:name="android.permission.INTERNET"/> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/> <uses-feature android:required="true" android:name="android.hardware.touchscreen.multitouch"/> <android:theme="@android:style/Theme.Translucent"> <application android:enabled="true"> <activity android:excludeFromRecents="false"> <intent-filter> <action android:name="android.intent.action.MAIN"/> <category android:name="android.intent.category.LAUNCHER"/> </intent-filter> </activity> </application> </manifest> ]]> </manifestAdditions> <!-- Color depth for the app (either "32bit" or "16bit"). Optional. Default 16bit before namespace 3.0, 32bit after --> <!-- <colorDepth></colorDepth> --> </android>是这样改吗 在manifest中添加这句试试这个可以试试! <activity android:theme="@android:style/Theme.Translucent" /> <activity android:excludeFromRecents="false"><intent-filter><action android:name="android.intent.action.MAIN"android:theme="@android:style/Theme.Translucent"/><category android:name="android.intent.category.LAUNCHER"/></intent-filter></activity>放到activity里。 <android> <manifestAdditions> <![CDATA[ <manifest android:installLocation="auto"> <uses-permission android:name="android.permission.INTERNET"/> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/> <uses-feature android:required="true" android:name="android.hardware.touchscreen.multitouch"/> <application android:enabled="true"> <activity android:excludeFromRecents="false"> <intent-filter> <action android:name="android.intent.action.MAIN" android:theme="@android:style/Theme.Translucent"/> <category android:name="android.intent.category.LAUNCHER"/> </intent-filter> </activity> </application> </manifest> ]]> </manifestAdditions> <!-- Color depth for the app (either "32bit" or "16bit"). Optional. Default 16bit before namespace 3.0, 32bit after --> <colorDepth>16bit</colorDepth> </android>还是不是透明的 <activity android:excludeFromRecents="false"><intent-filter><action android:name="android.intent.action.MAIN"android:theme="@android:style/Theme.Translucent"/><category android:name="android.intent.category.LAUNCHER"/></intent-filter></activity>放到activity里。菜鸟拿走咯 按理说应该可以的http://blog.csdn.net/se_lc7/article/details/14225539你看看这个能参考吗,我自己原来写的一个总结。。 求高手指点一下:Eclipse 如何安装 PhoneGap 2.2 或如何使用 PhoneGap 2.2 跪求android单线程下载报错解决办法 一个应用应该有几个BroadCastReciever 关于Acitivity02的问题 我有几个Android相关的问题,大家看看会不会啊 关于微信,关于一条指令的意思,求解惑 sdk manager 的问题。 求Android教程 修改标题栏高度报错 安卓后台服务CCPservice可以一直监听吗 简单的数据库操作问题。 怎么不能更新sdk API了
<android>
<manifestAdditions>
<![CDATA[
<manifest android:installLocation="auto">
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-feature android:required="true" android:name="android.hardware.touchscreen.multitouch"/>
<android:theme="@android:style/Theme.Translucent">
<application android:enabled="true">
<activity android:excludeFromRecents="false">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
</application>
</manifest>
]]>
</manifestAdditions>
<!-- Color depth for the app (either "32bit" or "16bit"). Optional. Default 16bit before namespace 3.0, 32bit after -->
<!-- <colorDepth></colorDepth> -->
</android>是这样改吗
<intent-filter>
<action android:name="android.intent.action.MAIN"
android:theme="@android:style/Theme.Translucent"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>放到activity里。
<manifestAdditions>
<![CDATA[
<manifest android:installLocation="auto">
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-feature android:required="true" android:name="android.hardware.touchscreen.multitouch"/>
<application android:enabled="true">
<activity android:excludeFromRecents="false">
<intent-filter>
<action android:name="android.intent.action.MAIN"
android:theme="@android:style/Theme.Translucent"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
</application>
</manifest>
]]>
</manifestAdditions>
<!-- Color depth for the app (either "32bit" or "16bit"). Optional. Default 16bit before namespace 3.0, 32bit after -->
<colorDepth>16bit</colorDepth>
</android>
还是不是透明的
<intent-filter>
<action android:name="android.intent.action.MAIN"
android:theme="@android:style/Theme.Translucent"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>放到activity里。菜鸟拿走咯