public void setContentView (int layoutResID) Since: API Level 1 Set the activity content from a layout resource. The resource will be inflated, adding all top-level views to the activity. Parameters layoutResID Resource ID to be inflated. public void setContentView (View view, ViewGroup.LayoutParams params) Since: API Level 1 Set the activity content to an explicit view. This view is placed directly into the activity's view hierarchy. It can itself be a complex view hierarhcy. Parameters view The desired content to display. params Layout parameters for the view. public void setContentView (View view) Since: API Level 1 Set the activity content to an explicit view. This view is placed directly into the activity's view hierarchy. It can itself be a complex view hierarhcy. Parameters view The desired content to display.