[android-developers] Re: Android application StartUp Internals

2012-04-29 Thread Mansoor
Thanks Nadeem I Understood. When i checked setContentView() API i found that a new instance of Window is getting created so if there is already a default window then why new instance of window getting created on call this method? Regards Mansoor V.M -- You received this message because you ar

[android-developers] Re: Android application StartUp Internals

2012-04-27 Thread Nadeem Hasan
The view provided in setContentView() is only that, the content part of the activity. The system creates the top-level view along with any optional chrome (titlebar/actionbar) and a top-level FrameLayout within which the content view you set is displayed. If you don't call setContentView(), you

[android-developers] Re: Android application StartUp Internals

2012-04-27 Thread Mansoor
Thanks a lot Mark -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For mor

Re: [android-developers] Re: Android application StartUp Internals

2012-04-27 Thread Mark Murphy
On Fri, Apr 27, 2012 at 7:26 AM, Mansoor wrote: > I have some doubts regarding the reply to point 2. > When i call setContentView(layoud id) only new window instance get > created before that there is no UI so no need of window right? No. You can prove this by actually trying it. You will find th

[android-developers] Re: Android application StartUp Internals

2012-04-27 Thread Mansoor
Hi Mark Thanks for your reply :) I have some doubts regarding the reply to point 2. When i call setContentView(layoud id) only new window instance get created before that there is no UI so no need of window right? I am only a android application developer but i wish to know what really happening