Android : Android: create activity not full screen with transparent background

on Thursday, October 9, 2014


I'd like to create an Activity smaller than full screen and having around it a transparent background.


enter image description here


Using re-size function I was able to create layer smaller than full screen, but I don't know how to create transparent background.


In my mind, if you tap on background nothing happen, but, in my case (simply re-sizing) activity, when you tap somewhere outside of activity, it loose the focus and disappear.


Any idea? Many thanks!


0 comments:

Post a Comment