Difference between Window & WindowManager
Through WindowManager I can add view,which comes on top of everything.If I want to make a transparent activity,screen,then I can do it only through WM.
But going by the documentation,the top view of any activity of Android is DecorView & it is added to Window.
So I tried to make a transparent activity by adding a view to window & also DecorView,but could not get it.
So my doubt is why&when Window is used,how android's view hierarchy works like when an activity is displayed,why by default the background is white.Can we make the background transparent through coding[using Window or DecorView],not by setting the theme in style.xml
So please help me to understand this.So that I will get a clear idea abt how views are shown.
|