Skip to content

Instantly share code, notes, and snippets.

@haxzie-xx
Created January 21, 2019 18:57
Show Gist options
  • Select an option

  • Save haxzie-xx/7ddef41a7a840581688fc85fd16393e2 to your computer and use it in GitHub Desktop.

Select an option

Save haxzie-xx/7ddef41a7a840581688fc85fd16393e2 to your computer and use it in GitHub Desktop.
<style name="FullScreenDialogStyle" parent="Theme.AppCompat.Dialog">
<item name="android:windowNoTitle">true</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorPrimary">@color/colorPrimary</item>
<!-- Set this to true if you want Full Screen without status bar -->
<item name="android:windowFullscreen">false</item>
<item name="android:windowIsFloating">false</item>
<!-- This is important! Don't forget to set window background -->
<item name="android:windowBackground">@color/colorWhite</item>
<!-- Additionally if you want animations when dialog opening -->
<item name="android:windowEnterAnimation">@anim/slide_up</item>
<item name="android:windowExitAnimation">@anim/slide_down</item>
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment