setView does just that ... sets up one View . So it could be ListView , TextView , etc.
setContentView similar to when you set it for an Activity . He installs the full layout . Depending on which setContentView you are using, there may be a parent layout or a layout inflated by xml
setContentView(View view)
Set the screen contents to an explicit view. This view is placed directly in the screen display hierarchy. He himself can be a complicated look.
or
setContentView(int layoutResID)
Set the screen contents from the layout resource. The resource will be overstated by adding all the top-level views to the screen.
source share