1

I have tried it out and by using

SMultiWindowActivity.makeMultiWindowIntent(intent, SMultiWindowActivity.ZONE_A);

I can make an action intent appear on the top half of the screen.

Is there a way to make the same intent appear as a pop-up window?

1 Answers1

0

Pass a float for the scale:

makeMultiWindowIntent(Intent intent, float scale)

See the SMultiWindowActivity API docs.

Grisha Levit
  • 8,194
  • 2
  • 38
  • 53
  • The link is broken. Is there a new link? – Royz Sep 17 '20 at 08:45
  • The Samsung-specific way of doing this was deprecated in Android O as there is now a native API for it, see https://developer.android.com/guide/topics/ui/multi-window – Grisha Levit Sep 17 '20 at 16:21