Skip to content
Advertisement

Show fragment over other apps when calling intent filter

I want to show my fragment as bottom sheet when the user clicks “share” from another app then chooses mine like the screenshot below from YouTube and another app.
Any idea how to do it?
Also, does it comply with Google Play policies or not?

Thank you in advance.

enter image description here

Advertisement

Answer

I figured it out by using a transparent activity with BottomSheetBehavior.

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement