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

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -