Skip to content

Instantly share code, notes, and snippets.

@tcw165
Created December 19, 2017 00:36
Show Gist options
  • Save tcw165/911afe68f193edc7a2d3863278a68ae6 to your computer and use it in GitHub Desktop.
Save tcw165/911afe68f193edc7a2d3863278a68ae6 to your computer and use it in GitHub Desktop.
<resources xmlns:tools="http://schemas.android.com/tools">
<!-- Transparent Window Activity -->
<style name="AppTheme.TransparentWindow" parent="AppTheme.CustomToolbar">
<!--
We want the translucent background painted by the root layout instead
of painted by the window.
-->
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:windowContentOverlay">@null</item>
<item name="android:windowIsFloating">false</item>
<item name="android:backgroundDimEnabled">false</item>
<item name="android:colorBackgroundCacheHint">@null</item>
</style>
</resources>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment