Programmatically enter multi-window mode in Android N

后端 未结 3 1837
旧巷少年郎
旧巷少年郎 2020-12-17 22:04

Android N has a new feature - Multi Window Mode. It enables two applications to be active side-by-side (actually one one is active, other one is paused but we can see both s

3条回答
  •  不思量自难忘°
    2020-12-17 22:41

    I don't think that an api for the thing you want to do exists, You could try making your app have two fragments on each side of the screen. With a black bar in the middle, make each fragment resize according to the "X" position of the bar. :)

提交回复
热议问题