设置背景啊,android:background="#00ffffff",前面两个0是设置透明度,后面六个f是设置颜色,每两位对应三原色的一种颜色的值

解决方案 »

  1.   

    我试过了不管用,app.xml也改过了。
      

  2.   

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

  3.   

    <!-- 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>是这样改吗
      

  4.   

    在manifest中添加这句试试这个可以试试!
      

  5.   

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

  6.   

    <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里。
      

  7.   

    <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>
    还是不是透明的
      

  8.   

    <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里。菜鸟拿走咯
      

  9.   

    按理说应该可以的http://blog.csdn.net/se_lc7/article/details/14225539你看看这个能参考吗,我自己原来写的一个总结。。