ListView is Widget(View) or Layout(Viewgroup)?
        Posted  
        
            by 
                Manoj Maurya
            
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Manoj Maurya
        
        
        
        Published on 2011-01-05T13:23:57Z
        Indexed on 
            2011/01/05
            13:54 UTC
        
        
        Read the original article
        Hit count: 291
        
android
|android-layout
Hi All,
I need your help to explore few topics in Android.
My understanding is Widget is View and Layout is ViewGroups in Android.
I described the problems as below-
- Please go through the below links-
 
developer.android.com/guide/topics/ui/custom-components.html- (add http:// in the beginning)
developer.android.com/resources/tutorials/views/index.html - (add http:// in the beginning)
In the first link ListView is included as Widget and in the Second link ListView has been shown as Layout.
So, is ListView is Widget(View) or Layout(Viewgroup)?
Same is the case for Spinner in Andriod
developer.android.com/resources/tutorials/views/hello-spinner.html- (add http:// in the beginning) (Link- says Spinner is Widget(View))
developer.android.com/guide/topics/ui/layout-objects.html- (add http:// in the beginning) says Spinner is Layout(ViewGroup)
So, Spinner is View or ViewGroup?
Please update me with your views?
© Stack Overflow or respective owner