1

I want to have an activity with window that layering another window like Linkbubble enter image description here

How to create that kind of window? I already have the bubble created using windowmanager.

dev0x10
  • 105
  • 1
  • 8
  • The best way to create this is by using an overlay with service. http://stackoverflow.com/questions/4481226/creating-a-system-overlay-window-always-on-top – JiTHiN Nov 05 '14 at 01:30

1 Answers1

1

use frame layout or merge tag to host your layers.. each layer can be any layout. each child in framelayout comes on top of the previous.

Aun
  • 1,755
  • 1
  • 15
  • 26
  • I succeed to create the bubble icon using window manager. how to make the layout below that bubble icon? it's nice if you can put some sample codes – dev0x10 Nov 04 '14 at 14:06
  • create the whole layer (bubble + below layout) with a vertical linearlayout or relative layout. and this layout should be placed in the top level framelayout – Aun Nov 04 '14 at 15:09
  • sorry but I'm not really good with Android UI the bubble is coming from window manager, so I didn't use frame layout. Is it not possible by only using windowmanager.addView(...) ?? – dev0x10 Nov 04 '14 at 16:14