Created
January 1, 2021 18:45
-
-
Save tejpratap46/f0f61e27016c411ee97b48b49ac06744 to your computer and use it in GitHub Desktop.
Transparent Bottom Sheet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<resources> | |
<style name="TransparentBottomSheetDialogTheme" parent="Theme.MaterialComponents.Light.BottomSheetDialog"> | |
<item name="colorPrimary">@color/colorPrimary</item> | |
<item name="colorPrimaryDark">@color/colorPrimaryDark</item> | |
<item name="colorSecondary">@color/colorPrimaryDark</item> | |
<item name="colorAccent">@color/colorAccent</item> | |
<item name="bottomSheetStyle">@style/TransparentBottomSheetStyle</item> | |
</style> | |
<style name="TransparentBottomSheetStyle" parent="Widget.Design.BottomSheet.Modal"> | |
<item name="android:background">@android:color/transparent</item> | |
</style> | |
</resources> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment