0

I want to do something like on the screen below using BottomSheetDialogFragment. Is that even possible? I know it is possible in BottomNavigationView by overriding onDraw method but I can't figure if and how can I do it in BottomSheetDialogFragment. Cheers

Image of the custom shape of BottomSheedDialogFragment

Edit

Maybe I'll specify. This half-circle must be transparent, because inside it there will be button

Specify of previous picture

Community
  • 1
  • 1
Remzo
  • 149
  • 3
  • 12
  • 1
    This is pretty much possible with layout only You can set a `Circular view` as anchor view on top . Give it a TRY [Read this](https://stackoverflow.com/questions/40043351/half-circle-shape-not-work). – ADM Jan 03 '19 at 03:53
  • It is possible, you can try following this tutorial https://proandroiddev.com/how-i-drew-custom-shapes-in-bottom-bar-c4539d86afd7 – DemiDust Jan 03 '19 at 04:31
  • @DemiDust I followed this tutorial but it is for BottomNavigationView only, but I have to do something like that but for BottomSheetDialogFragment – Remzo Jan 03 '19 at 04:41
  • Yes it possible. My suggestion is to use standard bottom sheets and not modal, also take a look this my answer - https://stackoverflow.com/a/53810362/7917629 it can helps. – Vadim Eksler Jan 03 '19 at 06:29

0 Answers0