I understand basic AXML usage such as:
protected override void OnCreate(Bundle bundle)
{
base.OnCreate(bundle);
SetContentView(Resource.Layout.Home);
}
Is there a way to combine fragments of AXML such as:
protected override void OnCreate(Bundle bundle)
{
base.OnCreate(bundle);
var layout = new LinearLayout(this);
layout.AddView(Resource.Layout.HomePart1);
layout.AddView(Resource.Layout.HomePart2);
SetContentView(layout);
}
You can call LayoutInflater.Inflate to build a view from a resource file: