You can get transparent activity:android:theme= the "@android: Style/theme.translucent" example below by adding the following in the corresponding Activity tab in Androidmanifest.xml: <?xml version= "1.0" encoding= "Utf-8"? ><manifest xmlns:android= "http// Schemas.android.com/apk/res/android " package=" Cn.anarticle.app " > <application android:allowbackup= "true" android:icon= "@drawable/ic_launcher" android:label= "@string/app_name" android: Theme= "@style/apptheme" > <activity android:name= "Cn.anarticle.app.MainActivity" android:label= "@string/app_name" &Nbsp; android:theme= "@android: Style/theme.translucent" > <intent-filter> <action android:name= "Android.intent.action.MAIN" /> <category android:name= "Android.intent.category.LAUNCHER" /> </intent-filter> </activity> </application></manifest>
This article is from the "Frank" blog, so be sure to keep this source http://zengfanhong.blog.51cto.com/8894077/1596219
Android Translucent Activity