# Print output for @column tags ?>
Developers

- Design
- Develop
- Distribute

Developer Console

## Most visited

## Recently visited

## Results for

Summary: Methods

# ViewManager

`public interface ViewManager`
``

android.view.ViewManager

Known indirect subclasses AbsListView, AbsSpinner, AbsoluteLayout, ActionMenuView, AdapterView<T extends Adapter>, AdapterViewAnimator, AdapterViewFlipper, AppWidgetHostView, CalendarView, DatePicker, DialerFilter, ExpandableListView, FragmentBreadCrumbs, FrameLayout, Gallery, and 33 others.
AbsListView | Base class that can be used to implement virtualized lists of items.
AbsSpinner | An abstract base class for spinner widgets.
AbsoluteLayout | This class is deprecated. Use `FrameLayout`, `RelativeLayout` or a custom layout instead.
ActionMenuView | ActionMenuView is a presentation of a series of menu options as a View.
AdapterView<T extends Adapter> | An AdapterView is a view whose children are determined by an `Adapter`.
AdapterViewAnimator | Base class for a `AdapterView` that will perform animations when switching between its views.
AdapterViewFlipper | Simple `ViewAnimator` that will animate between two or more views that have been added to it.
AppWidgetHostView | Provides the glue to show AppWidget views.
CalendarView | This class is a calendar widget for displaying and selecting dates.
DatePicker | Provides a widget for selecting a date.
DialerFilter | This class is deprecated. Use a custom view or layout to handle this functionality instead
ExpandableListView | A view that shows items in a vertically scrolling two-level list.
FragmentBreadCrumbs | This class is deprecated. This widget is no longer supported.
FrameLayout | FrameLayout is designed to block out an area on the screen to display a single item.
Gallery | This class is deprecated. This widget is no longer supported. Other horizontally scrolling widgets include `HorizontalScrollView` and `ViewPager` from the support library.
GestureOverlayView | A transparent overlay for gesture input that can be placed on top of other widgets or contain other widgets.
GridLayout | A layout that places its children in a rectangular grid.
GridView | A view that shows items in two-dimensional scrolling grid.
HorizontalScrollView | Layout container for a view hierarchy that can be scrolled by the user, allowing it to be larger than the physical display.
ImageSwitcher | `ViewSwitcher` that switches between two ImageViews when a new image is set on it.
InlineContentView | This class represents a view that holds opaque content from another app that you can inline in your UI.
LinearLayout | A layout that arranges other views either horizontally in a single column or vertically in a single row.
ListView | Displays a vertically-scrollable collection of views, where each view is positioned immediatelybelow the previous view in the list.
MediaController | A view containing controls for a MediaPlayer.
NumberPicker | A widget that enables the user to select a number from a predefined range.
RadioGroup | This class is used to create a multiple-exclusion scope for a set of radio buttons.
RelativeLayout | A Layout where the positions of the children can be described in relation to each other or to the parent.
ScrollView | A view group that allows the view hierarchy placed within it to be scrolled.
SearchView | A widget that provides a user interface for the user to enter a search query and submit a request to a search provider.
SlidingDrawer | This class is deprecated. This class is not supported anymore. It is recommended you base your own implementation on the source code for the Android Open Source Project if you must use it in your application.
Spinner | A view that displays one child at a time and lets the user pick among them.
StackView |
TabHost | This class is deprecated. new applications should use fragment APIs instead of this class: Use TabLayout and ViewPager instead.
TabWidget | This class is deprecated. new applications should use fragment APIs instead of this class: Use TabLayout and ViewPager instead.
TableLayout | A layout that arranges its children into rows and columns.
TableRow | A layout that arranges its children horizontally.
TextSwitcher | Specialized `ViewSwitcher` that contains only children of type `TextView`.
TimePicker | A widget for selecting the time of day, in either 24-hour or AM/PM mode.
Toolbar | A standard toolbar for use within application content.
TvView | Displays TV contents.
TwoLineListItem | This class is deprecated. This class can be implemented easily by apps using a `RelativeLayout` or a `LinearLayout`.
ViewAnimator | Base class for a `FrameLayout` container that will perform animations when switching between its views.
ViewFlipper | Simple `ViewAnimator` that will animate between two or more views that have been added to it.
ViewGroup | A `ViewGroup` is a special view that can contain other views (called children.) The view group is the base class for layouts and views containers.
ViewSwitcher | `ViewAnimator` that switches between two views, and has a factory from which these views are created.
WebView | A View that displays web pages.
WindowManager | The interface that apps use to talk to the window manager.
ZoomControls | This class is deprecated. This functionality and UI is better handled with custom views and layouts rather than a dedicated zoom-control widget

Interface to let you add and remove child views to an Activity. To get an instance of this class, call `Context.getSystemService()`.

## Summary

### Public methods
`abstract void` | `addView(View view, ViewGroup.LayoutParams params)` Assign the passed LayoutParams to the passed View and add the view to the window.
`abstract void` | `removeView(View view)`
`abstract void` | `updateViewLayout(View view, ViewGroup.LayoutParams params)`

## Public methods

### addView

    public abstract void addView (View view,
                    ViewGroup.LayoutParams params)

Assign the passed LayoutParams to the passed View and add the view to the window.

Throws `WindowManager.BadTokenException` for certain programming errors, such as adding a second view to a window without removing the first view.

Throws `WindowManager.InvalidDisplayException` if the window is on a secondary `Display` and the specified display can't be found (see `Presentation`).

Parameters
`view` | `View`: The view to be added to this window.
`params` | `ViewGroup.LayoutParams`: The LayoutParams to assign to view.

### removeView

    public abstract void removeView (View view)

Parameters
`view` | `View`

### updateViewLayout

    public abstract void updateViewLayout (View view,
                    ViewGroup.LayoutParams params)

Parameters
`view` | `View`
`params` | `ViewGroup.LayoutParams`

Full name *
Email address *
Company / developer name
One of your Play Store app URLs *
Which best describes your business:*
Apps
Games
Apps & Games
*
*