Skip to content

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


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