Skip to content

Instantly share code, notes, and snippets.

@gotoark
Created November 8, 2017 11:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gotoark/c4059d4c04517733930d013e575638db to your computer and use it in GitHub Desktop.
Save gotoark/c4059d4c04517733930d013e575638db to your computer and use it in GitHub Desktop.
Style to make Transparent Activity Theme
<resources>
<style name="Theme.Transparent" parent="android:Theme">
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:windowContentOverlay">@null</item>
<item name="android:windowNoTitle">true</item>
<item name="android:windowIsFloating">true</item>
<item name="android:backgroundDimEnabled">false</item>
</style>
</resources>
@gotoark
Copy link
Author

gotoark commented Nov 8, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment