android - How make transparent AppCompat style? -


my activity style must appcompat theme.

so make custom style , set activity style in manifest.

but black background shown.

below custom theme

<style name="transparenttheme" parent="@style/theme.appcompat">      <item name="android:background">@null</item>     <item name="background">@null</item>      <item name="android:windowbackground">@null</item>     <item name="android:colorbackgroundcachehint">@null</item>     <item name="android:windowcontentoverlay">@null</item>     <item name="android:windowistranslucent">true</item>     <item name="android:windowanimationstyle">@null</item> </style> 

use @android:color/transparent instead of @null


Comments

Popular posts from this blog

python - matpltolib navigation toolbar edit curves and parameters line color automatically changes issue -

node.js - Nodejs javascript implementation of PBEWithMD5AndTripleDES/CBC/PKCS5Padding -