Skip to content

Instantly share code, notes, and snippets.

@venbrinoDev
Created April 12, 2021 16:15
Show Gist options
  • Save venbrinoDev/d1cf7e0f89a5d08be04ec799231dd9f0 to your computer and use it in GitHub Desktop.
Save venbrinoDev/d1cf7e0f89a5d08be04ec799231dd9f0 to your computer and use it in GitHub Desktop.
modal bottom ssheet
<style name="BlueStatusBar" parent="Theme.MaterialComponents.Light.NoActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/white</item>
<item name="colorPrimaryDark">@color/white</item>
<item name="android:statusBarColor" tools:targetApi="l">@color/base_color</item>
<item name="bottomSheetDialogTheme">@style/AppBottomSheetDialogTheme</item>
<item name="colorAccent">@color/white</item>
</style>
<style name="AppBottomSheetDialogTheme" parent="Theme.MaterialComponents.Light.BottomSheetDialog">
<item name="bottomSheetStyle">@style/AppModalStyle</item>
</style>
<style name="AppModalStyle" parent="Widget.Design.BottomSheet.Modal">
<item name="android:background">@drawable/bottomsheet_shape</item>
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment