- resource
- ID for an XML layout resource to load (e.g., R.layout.main_page)
- root
- Optional view to be the parent of the generated hierarchy (if attachToRoot is true), or else simply an object that provides a set of LayoutParams values for root of the returned hierarchy (if attachToRoot is false.)
- attachToRoot
- Whether the inflated hierarchy should be attached to the root parameter? If false, root is only used to create the correct subclass of LayoutParams for the root view in the XML.
Documentation for this section has not yet been entered.
Inflate a new view hierarchy from the specified xml resource. Throws Android.Views.InflateException if there is an error.