add Header View
Adds the specified View layout resource, to appear at the top of the . If the view already has a header view attached to it, it will be removed first.
Parameters
layout Res
the unique resource identifier to the layout that should be attached.
See also
Adds the specified View if any, to appear at the top of the NavigationRailView. If the view already has a header view attached to it, it will be removed first.
Parameters
header View
reference to the View that should be attached.