I came to know we can add overlay ovew on top of all other apps by this referencem,
Creating a system overlay window (always on top)
But I would like to know how to make secondly added view will be on top of first view when second view moved on top of first view.