版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/u012259618/article/details/52195761
<colorname="transparent">#0000</color>
android:theme="@style/Transparent"
<style name="Transparent">
<itemname="android:windowBackground">@color/transparent</item>
<itemname="android:windowIsTranslucent">true</item>
<item name="android:windowNoTitle">true</item>
<itemname="android:windowAnimationStyle">@+android:style/Animation.Translucent</item>
</style>