Android: how to display multiple activities at the same time

550 views Asked by At

I'm working on a custom Android ROM that must allow multiple activities to be displayed at the same time on the screen. Something similar to what the Samsung multiwindow does. This case is a bit different though since I have to show, let's say, 5 activities at the same time. Think of it like having a top bar, a left bar, a bottom bar and a right bar that are always visible on the screen, and then we have a center region in which normal activities must be shown. The bars are managed by their own activities. Question is, I have NO IDEA how to accomplish that, there must be a way since samsung did it with multiwindow but as far as I know that code is not public so I cannot dig into it. Anyone has a clue? Anyone had to do this before?

Things I don't have to do because of project requirements:

  • Not use fragments, the idea is that with this custom rom, if the user starts an android default app it's activities are shown inside the inner region
  • Not use ActivityGroups, deprecated, and doesn't do what I want however.

Thanks

0

There are 0 answers