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 will see the title-bar (optional) 
and the empty top-level FrameLayout.

These details may change with Android versions though.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to