| java.lang.Object | |||||
| ↳ | android.view.View | ||||
| ↳ | android.view.ViewGroup | ||||
| ↳ | android.widget.AdapterView <T extends android.widget.Adapter > | ||||
| ↳ | android.widget.AbsListView | ||||
| ↳ | android.widget.GridView | ||||
       A view that shows items in two-dimensional scrolling grid. The items in the
 grid come from the
       
        
         ListAdapter
        
       
       associated with this view.
      
See the Grid View guide.
| XML Attributes | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 
          | 
        
          | 
        
          | 
       |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| android:columnWidth | setColumnWidth(int) | Specifies the fixed width for each column. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| android:gravity | setGravity(int) | Specifies the gravity within each cell. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| android:horizontalSpacing | setHorizontalSpacing(int) | Defines the default horizontal spacing between columns. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| android:numColumns | setNumColumns(int) | Defines how many columns to show. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| android:stretchMode | setStretchMode(int) | Defines how columns should stretch to fill the available empty space, if any. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| android:verticalSpacing | setVerticalSpacing(int) | Defines the default vertical spacing between rows. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 
          
           [Expand]
          
           
           Inherited XML Attributes
           
          | 
        |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
          
            
          
          From class
          
           android.widget.AbsListView
          
          
  | 
        |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
          
            
          
          From class
          
           android.view.ViewGroup
          
          
  | 
        |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
          
            
          
          From class
          
           android.view.View
          
          
  | 
        |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | AUTO_FIT | Creates as many columns as can fit on screen. | |||||||||
| int | NO_STRETCH | Disables stretching. | |||||||||
| int | STRETCH_COLUMN_WIDTH | Stretches columns. | |||||||||
| int | STRETCH_SPACING | Stretches the spacing between columns. | |||||||||
| int | STRETCH_SPACING_UNIFORM | Stretches the spacing between columns. | |||||||||
| 
          
           [Expand]
          
           
           Inherited Constants
           
          | 
        |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
          
            
          
          From class
          
           android.widget.AbsListView
          
          
  | 
        |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
          
            
          
          From class
          
           android.widget.AdapterView
          
          
  | 
        |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
          
            
          
          From class
          
           android.view.ViewGroup
          
          
  | 
        |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
          
            
          
          From class
          
           android.view.View
          
          
  | 
        |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 
          
           [Expand]
          
           
           Inherited Fields
           
          | 
        |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
          
            
          
          From class
          
           android.view.View
          
          
  | 
        |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| 
           | 
         
           | 
        ||||||||||
| 
           | 
         
           | 
        ||||||||||
| 
           | 
         
           | 
        ||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| 
           | 
         
           
           Returns the adapter currently associated with this widget.
           
          | 
        ||||||||||
| 
           | 
         
           
           Return the width of a column in the grid.
           
          | 
        ||||||||||
| 
           | 
         
           
           Describes how the child views are horizontally aligned.
           
          | 
        ||||||||||
| 
           | 
         
           
           Returns the amount of horizontal spacing currently used between each item in the grid.
           
          | 
        ||||||||||
| 
           | 
         
           
           Get the number of columns in the grid.
           
          | 
        ||||||||||
| 
           | 
         
           
           Return the requested width of a column in the grid.
           
          | 
        ||||||||||
| 
           | 
         
           
           Returns the requested amount of horizontal spacing between each item in the grid.
           
          | 
        ||||||||||
| 
           | 
         
           | 
        ||||||||||
| 
           | 
         
           
           Returns the amount of vertical spacing between each item in the grid.
           
          | 
        ||||||||||
| 
           | 
         
           
           Initializes an
            
         
            
             AccessibilityEvent
            
           
           with information about
 this View which is the event source.
           | 
        ||||||||||
| 
           | 
         
           
           Initializes an
            
         
            
             AccessibilityNodeInfo
            
           
           with information about this view.
           | 
        ||||||||||
| 
           | 
         
           
           Initializes an
            
         
            
             AccessibilityNodeInfo
            
           
           with information about a
 particular item in the list.
           | 
        ||||||||||
| 
           | 
         
           
           Default implementation of
            
         
            
             KeyEvent.Callback.onKeyDown()
            
           
           : perform press of the view
 when
           
            
             KEYCODE_DPAD_CENTER
            
           
           or
           
            
             KEYCODE_ENTER
            
           
           is released, if the view is enabled and clickable.
           | 
        ||||||||||
| 
           | 
         
           
           Default implementation of
            
         
            
             KeyEvent.Callback.onKeyMultiple()
            
           
           : always returns false (doesn't handle
 the event).
           | 
        ||||||||||
| 
           | 
         
           
           Default implementation of
            
         
            
             KeyEvent.Callback.onKeyUp()
            
           
           : perform clicking of the view
 when
           
            
             KEYCODE_DPAD_CENTER
            
           
           or
           
            
             KEYCODE_ENTER
            
           
           is released.
           | 
        ||||||||||
| 
           | 
         
           
           Sets the data behind this GridView.
           
          | 
        ||||||||||
| 
           | 
         
           
           Set the width of columns in the grid.
           
          | 
        ||||||||||
| 
           | 
         
           
           Set the gravity for this grid.
           
          | 
        ||||||||||
| 
           | 
         
           
           Set the amount of horizontal (x) spacing to place between each item
 in the grid.
           
          | 
        ||||||||||
| 
           | 
         
           
           Set the number of columns in the grid
           
          | 
        ||||||||||
| 
           | 
         
           
           Sets up this AbsListView to use a remote views adapter which connects to a RemoteViewsService
 through the specified intent.
           
          | 
        ||||||||||
| 
           | 
         
           
           Sets the currently selected item
           
          | 
        ||||||||||
| 
           | 
         
           
           Control how items are stretched to fill their space.
           
          | 
        ||||||||||
| 
           | 
         
           
           Set the amount of vertical (y) spacing to place between each item
 in the grid.
           
          | 
        ||||||||||
| 
           | 
         
           
           Smoothly scroll to the specified adapter position offset.
           
          | 
        ||||||||||
| 
           | 
         
           
           Smoothly scroll to the specified adapter position.
           
          | 
        ||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| 
           | 
         
           
           Subclasses should override this method to set layout animation
 parameters on the supplied child.
           
          | 
        ||||||||||
| 
           | 
         
           Compute the vertical extent of the horizontal scrollbar's thumb within the vertical range.  | 
        ||||||||||
| 
           | 
         
           Compute the vertical offset of the vertical scrollbar's thumb within the horizontal range.  | 
        ||||||||||
| 
           | 
         
           Compute the vertical range that the vertical scrollbar represents.  | 
        ||||||||||
| 
           | 
         
           
           Subclasses must override this method to layout their children.
           
          | 
        ||||||||||
| 
           | 
         
           
           Called by the view system when the focus state of this view changes.
           
          | 
        ||||||||||
| 
           | 
         
           Measure the view and its content to determine the measured width and the measured height.  | 
        ||||||||||
| 
          
           [Expand]
          
           
           Inherited Methods
           
          | 
        |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
          
            
          
          From class
          
           android.widget.AbsListView
          
          
  | 
        |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
          
            
          
          From class
          
           android.widget.AdapterView
          
          
  | 
        |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
          
            
          
          From class
          
           android.view.ViewGroup
          
          
  | 
        |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
          
            
          
          From class
          
           android.view.View
          
          
  | 
        |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
          
            
          
          From class
          
           java.lang.Object
          
          
  | 
        |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
          
            
          
          From interface
          
           android.graphics.drawable.Drawable.Callback
          
          
  | 
        |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
          
            
          
          From interface
          
           android.text.TextWatcher
          
          
  | 
        |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
          
            
          
          From interface
          
           android.view.KeyEvent.Callback
          
          
  | 
        |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
          
            
          
          From interface
          
           android.view.ViewManager
          
          
  | 
        |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
          
            
          
          From interface
          
           android.view.ViewParent
          
          
  | 
        |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
          
            
          
          From interface
          
           android.view.ViewTreeObserver.OnGlobalLayoutListener
          
          
  | 
        |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
          
            
          
          From interface
          
           android.view.ViewTreeObserver.OnTouchModeChangeListener
          
          
  | 
        |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
          
            
          
          From interface
          
           android.view.accessibility.AccessibilityEventSource
          
          
  | 
        |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
          
            
          
          From interface
          
           android.widget.Filter.FilterListener
          
          
  | 
        |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Specifies the fixed width for each column.
         Must be a dimension value, which is a floating point number appended with a unit such as "
         
          14.5sp
         
         ".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
        
         This may also be a reference to a resource (in the form
"
         
          @[
          
           package
          
          :]
          
           type
          
          :
          
           name
          
         
         ") or
theme attribute (in the form
"
         
          ?[
          
           package
          
          :][
          
           type
          
          :]
          
           name
          
         
         ")
containing a value of this type.
        
         This corresponds to the global attribute
          resource symbol
         
          
           columnWidth
          
         
         .
        
Specifies the gravity within each cell.
Must be one or more (separated by '|') of the following constant values.
| Constant | Value | Description | 
|---|---|---|
           
            top
           
           | 
          0x30 | Push object to the top of its container, not changing its size. | 
           
            bottom
           
           | 
          0x50 | Push object to the bottom of its container, not changing its size. | 
           
            left
           
           | 
          0x03 | Push object to the left of its container, not changing its size. | 
           
            right
           
           | 
          0x05 | Push object to the right of its container, not changing its size. | 
           
            center_vertical
           
           | 
          0x10 | Place object in the vertical center of its container, not changing its size. | 
           
            fill_vertical
           
           | 
          0x70 | Grow the vertical size of the object if needed so it completely fills its container. | 
           
            center_horizontal
           
           | 
          0x01 | Place object in the horizontal center of its container, not changing its size. | 
           
            fill_horizontal
           
           | 
          0x07 | Grow the horizontal size of the object if needed so it completely fills its container. | 
           
            center
           
           | 
          0x11 | Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. | 
           
            fill
           
           | 
          0x77 | Grow the horizontal and vertical size of the object if needed so it completely fills its container. | 
           
            clip_vertical
           
           | 
          0x80 | Additional option that can be set to have the top and/or bottom edges of the child clipped to its container's bounds. The clip will be based on the vertical gravity: a top gravity will clip the bottom edge, a bottom gravity will clip the top edge, and neither will clip both edges. | 
           
            clip_horizontal
           
           | 
          0x08 | Additional option that can be set to have the left and/or right edges of the child clipped to its container's bounds. The clip will be based on the horizontal gravity: a left gravity will clip the right edge, a right gravity will clip the left edge, and neither will clip both edges. | 
           
            start
           
           | 
          0x00800003 | Push object to the beginning of its container, not changing its size. | 
           
            end
           
           | 
          0x00800005 | Push object to the end of its container, not changing its size. | 
         This corresponds to the global attribute
          resource symbol
         
          
           gravity
          
         
         .
        
Defines the default horizontal spacing between columns.
         Must be a dimension value, which is a floating point number appended with a unit such as "
         
          14.5sp
         
         ".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
        
         This may also be a reference to a resource (in the form
"
         
          @[
          
           package
          
          :]
          
           type
          
          :
          
           name
          
         
         ") or
theme attribute (in the form
"
         
          ?[
          
           package
          
          :][
          
           type
          
          :]
          
           name
          
         
         ")
containing a value of this type.
        
         This corresponds to the global attribute
          resource symbol
         
          
           horizontalSpacing
          
         
         .
        
Defines how many columns to show.
         May be an integer value, such as "
         
          100
         
         ".
        
         This may also be a reference to a resource (in the form
"
         
          @[
          
           package
          
          :]
          
           type
          
          :
          
           name
          
         
         ") or
theme attribute (in the form
"
         
          ?[
          
           package
          
          :][
          
           type
          
          :]
          
           name
          
         
         ")
containing a value of this type.
        
May be one of the following constant values.
| Constant | Value | Description | 
|---|---|---|
           
            auto_fit
           
           | 
          -1 | Display as many columns as possible to fill the available space. | 
         This corresponds to the global attribute
          resource symbol
         
          
           numColumns
          
         
         .
        
Defines how columns should stretch to fill the available empty space, if any.
Must be one of the following constant values.
| Constant | Value | Description | 
|---|---|---|
           
            none
           
           | 
          0 | Stretching is disabled. | 
           
            spacingWidth
           
           | 
          1 | The spacing between each column is stretched. | 
           
            columnWidth
           
           | 
          2 | Each column is stretched equally. | 
           
            spacingWidthUniform
           
           | 
          3 | The spacing between each column is uniformly stretched.. | 
         This corresponds to the global attribute
          resource symbol
         
          
           stretchMode
          
         
         .
        
Defines the default vertical spacing between rows.
         Must be a dimension value, which is a floating point number appended with a unit such as "
         
          14.5sp
         
         ".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
        
         This may also be a reference to a resource (in the form
"
         
          @[
          
           package
          
          :]
          
           type
          
          :
          
           name
          
         
         ") or
theme attribute (in the form
"
         
          ?[
          
           package
          
          :][
          
           type
          
          :]
          
           name
          
         
         ")
containing a value of this type.
        
         This corresponds to the global attribute
          resource symbol
         
          
           verticalSpacing
          
         
         .
        
Creates as many columns as can fit on screen.
Stretches the spacing between columns. The spacing is uniform.
Returns the adapter currently associated with this widget.
Return the width of a column in the grid.
This may not be valid yet if a layout is pending.
Describes how the child views are horizontally aligned. Defaults to Gravity.LEFT
Returns the amount of horizontal spacing currently used between each item in the grid.
         This is only accurate for the current layout. If
         
          
           setHorizontalSpacing(int)
          
         
         has been called but layout is not yet complete, this method may return a stale value.
 To get the horizontal spacing that was explicitly requested use
         
          
           getRequestedHorizontalSpacing()
          
         
         .
        
         Get the number of columns in the grid. 
 Returns
         
          
           AUTO_FIT
          
         
         if the Grid has never been laid out.
        
Return the requested width of a column in the grid.
         This may not be the actual column width used. Use
         
          
           getColumnWidth()
          
         
         to retrieve the current real width of a column.
        
Returns the requested amount of horizontal spacing between each item in the grid.
         The value returned may have been supplied during inflation as part of a style,
 the default GridView style, or by a call to
         
          
           setHorizontalSpacing(int)
          
         
         .
 If layout is not yet complete or if GridView calculated a different horizontal spacing
 from what was requested, this may return a different value from
         
          
           getHorizontalSpacing()
          
         
         .
        
Returns the amount of vertical spacing between each item in the grid.
         Initializes an
         
          
           AccessibilityEvent
          
         
         with information about
 this View which is the event source. In other words, the source of
 an accessibility event is the view whose state change triggered firing
 the event.
        
Example: Setting the password property of an event in addition to properties set by the super implementation:
          public void onInitializeAccessibilityEvent(AccessibilityEvent event) {
     super.onInitializeAccessibilityEvent(event);
     event.setPassword(true);
 }
         
        
        
         If an
         
          
           View.AccessibilityDelegate
          
         
         has been specified via calling
         
          
           setAccessibilityDelegate(AccessibilityDelegate)
          
         
         its
         
          
           onInitializeAccessibilityEvent(View, AccessibilityEvent)
          
         
         is responsible for handling this call.
        
Note: Always call the super implementation before adding information to the event, in case the default implementation has basic information to add.
| event | The event to initialize. | 
|---|
         Initializes an
         
          
           AccessibilityNodeInfo
          
         
         with information about this view.
 The base implementation sets:
         
            
             setParent(View)
            
           
           ,
          
            
             setBoundsInParent(Rect)
            
           
           ,
          
            
             setBoundsInScreen(Rect)
            
           
           ,
          
            
             setPackageName(CharSequence)
            
           
           ,
          
            
             setClassName(CharSequence)
            
           
           ,
          
            
             setContentDescription(CharSequence)
            
           
           ,
          
            
             setEnabled(boolean)
            
           
           ,
          
            
             setClickable(boolean)
            
           
           ,
          
            
             setFocusable(boolean)
            
           
           ,
          
            
             setFocused(boolean)
            
           
           ,
          
            
             setLongClickable(boolean)
            
           
           ,
          
            
             setSelected(boolean)
            
           
           ,
          Subclasses should override this method, call the super implementation, and set additional attributes.
         If an
         
          
           View.AccessibilityDelegate
          
         
         has been specified via calling
         
          
           setAccessibilityDelegate(AccessibilityDelegate)
          
         
         its
         
          
           onInitializeAccessibilityNodeInfo(View, AccessibilityNodeInfo)
          
         
         is responsible for handling this call.
        
| info | The instance to initialize. | 
|---|
         Initializes an
         
          
           AccessibilityNodeInfo
          
         
         with information about a
 particular item in the list.
        
| view | View representing the list item. | 
|---|---|
| position | Position of the list item within the adapter. | 
| info | Node info to populate. | 
         Default implementation of
         
          
           KeyEvent.Callback.onKeyDown()
          
         
         : perform press of the view
 when
         
          
           KEYCODE_DPAD_CENTER
          
         
         or
         
          
           KEYCODE_ENTER
          
         
         is released, if the view is enabled and clickable.
        
Key presses in software keyboards will generally NOT trigger this listener, although some may elect to do so in some situations. Do not rely on this to catch software key presses.
| keyCode | 
           A key code that represents the button pressed, from
           
            
             KeyEvent
            
           
           .
           | 
         
|---|---|
| event | The KeyEvent object that defines the button action. | 
         Default implementation of
         
          
           KeyEvent.Callback.onKeyMultiple()
          
         
         : always returns false (doesn't handle
 the event).
        
Key presses in software keyboards will generally NOT trigger this listener, although some may elect to do so in some situations. Do not rely on this to catch software key presses.
| keyCode | 
           A key code that represents the button pressed, from
           
            
             KeyEvent
            
           
           .
           | 
         
|---|---|
| repeatCount | The number of times the action was made. | 
| event | The KeyEvent object that defines the button action. | 
         Default implementation of
         
          
           KeyEvent.Callback.onKeyUp()
          
         
         : perform clicking of the view
 when
         
          
           KEYCODE_DPAD_CENTER
          
         
         or
         
          
           KEYCODE_ENTER
          
         
         is released.
        
Key presses in software keyboards will generally NOT trigger this listener, although some may elect to do so in some situations. Do not rely on this to catch software key presses.
| keyCode | 
           A key code that represents the button pressed, from
           
            
             KeyEvent
            
           
           .
           | 
         
|---|---|
| event | The KeyEvent object that defines the button action. | 
Sets the data behind this GridView.
| adapter | the adapter providing the grid's data | 
|---|
Set the width of columns in the grid.
| columnWidth | The column width, in pixels. | 
|---|
Set the gravity for this grid. Gravity describes how the child views are horizontally aligned. Defaults to Gravity.LEFT
| gravity | the gravity to apply to this grid's children | 
|---|
Set the amount of horizontal (x) spacing to place between each item in the grid.
| horizontalSpacing | The amount of horizontal space between items, in pixels. | 
|---|
Set the number of columns in the grid
| numColumns | The desired number of columns. | 
|---|
Sets up this AbsListView to use a remote views adapter which connects to a RemoteViewsService through the specified intent.
| intent | the intent used to identify the RemoteViewsService for the adapter to connect to. | 
|---|
Sets the currently selected item
| position | Index (starting at 0) of the data item to be selected. If in touch mode, the item will not be selected but it will still be positioned appropriately. | 
|---|
Control how items are stretched to fill their space.
| stretchMode | 
           Either
           
            
             NO_STRETCH
            
           
           ,
           
            
             STRETCH_SPACING
            
           
           ,
           
            
             STRETCH_SPACING_UNIFORM
            
           
           , or
           
            
             STRETCH_COLUMN_WIDTH
            
           
           .
           | 
         
|---|
Set the amount of vertical (y) spacing to place between each item in the grid.
| verticalSpacing | The amount of vertical space between items, in pixels. | 
|---|
Smoothly scroll to the specified adapter position offset. The view will scroll such that the indicated position is displayed.
| offset | The amount to offset from the adapter position to scroll to. | 
|---|
Smoothly scroll to the specified adapter position. The view will scroll such that the indicated position is displayed.
| position | Scroll to this adapter position. | 
|---|
Subclasses should override this method to set layout animation parameters on the supplied child.
| child | the child to associate with animation parameters | 
|---|---|
| params | the child's layout parameters which hold the animation parameters | 
| index | the index of the child in the view group | 
| count | the number of children in the view group | 
Compute the vertical extent of the horizontal scrollbar's thumb within the vertical range. This value is used to compute the length of the thumb within the scrollbar's track.
         The range is expressed in arbitrary units that must be the same as the
 units used by
         
          
           computeVerticalScrollRange()
          
         
         and
         
          
           computeVerticalScrollOffset()
          
         
         .
        
The default extent is the drawing height of this view.
Compute the vertical offset of the vertical scrollbar's thumb within the horizontal range. This value is used to compute the position of the thumb within the scrollbar's track.
         The range is expressed in arbitrary units that must be the same as the
 units used by
         
          
           computeVerticalScrollRange()
          
         
         and
         
          
           computeVerticalScrollExtent()
          
         
         .
        
The default offset is the scroll offset of this view.
Compute the vertical range that the vertical scrollbar represents.
         The range is expressed in arbitrary units that must be the same as the
 units used by
         
          
           computeVerticalScrollExtent()
          
         
         and
         
          
           computeVerticalScrollOffset()
          
         
         .
        
The default range is the drawing height of this view.
Subclasses must override this method to layout their children.
Called by the view system when the focus state of this view changes. When the focus change event is caused by directional navigation, direction and previouslyFocusedRect provide insight into where the focus is coming from. When overriding, be sure to call up through to the super class so that the standard focus handling will occur.
| gainFocus | True if the View has focus; false otherwise. | 
|---|---|
| direction | 
           The direction focus has moved when requestFocus()
                  is called to give this view focus. Values are
           
            
             FOCUS_UP
            
           
           ,
           
            
             FOCUS_DOWN
            
           
           ,
           
            
             FOCUS_LEFT
            
           
           ,
           
            
             FOCUS_RIGHT
            
           
           ,
           
            
             FOCUS_FORWARD
            
           
           , or
           
            
             FOCUS_BACKWARD
            
           
           .
                  It may not always apply, in which case use the default.
           | 
         
| previouslyFocusedRect | 
           The rectangle, in this view's coordinate
        system, of the previously focused view.  If applicable, this will be
        passed in as finer grained information about where the focus is coming
        from (in addition to direction).  Will be
           
            null
           
           otherwise.
           | 
         
         Measure the view and its content to determine the measured width and the
 measured height. This method is invoked by
         
          
           measure(int, int)
          
         
         and
 should be overriden by subclasses to provide accurate and efficient
 measurement of their contents.
        
         
          CONTRACT:
         
         When overriding this method, you
         
          must
         
         call
         
          
           setMeasuredDimension(int, int)
          
         
         to store the
 measured width and height of this view. Failure to do so will trigger an
         
          IllegalStateException
         
         , thrown by
         
          
           measure(int, int)
          
         
         . Calling the superclass'
         
          
           onMeasure(int, int)
          
         
         is a valid use.
        
         The base class implementation of measure defaults to the background size,
 unless a larger size is allowed by the MeasureSpec. Subclasses should
 override
         
          
           onMeasure(int, int)
          
         
         to provide better measurements of
 their content.
        
         If this method is overridden, it is the subclass's responsibility to make
 sure the measured height and width are at least the view's minimum height
 and width (
         
          
           getSuggestedMinimumHeight()
          
         
         and
         
          
           getSuggestedMinimumWidth()
          
         
         ).
        
| widthMeasureSpec | 
           horizontal space requirements as imposed by the parent.
                         The requirements are encoded with
           
            
             View.MeasureSpec
            
           
           .
           | 
         
|---|---|
| heightMeasureSpec | 
           vertical space requirements as imposed by the parent.
                         The requirements are encoded with
           
            
             View.MeasureSpec
            
           
           .
           |