inflateHeaderView

Inflates a View and add it as a header of the navigation menu.

Return

a newly inflated View.

Parameters

res

The layout resource ID.