I've gone back to trying to do this with code, but don't understand how to position the views.
What does this mean in the Custom2Dialog Demo:
cd.AddView(pnl, 77%x, 60%y)
Is the panel being set to 77% of the activity's width, or 77% of the dialog's width?
And when I add views to the panel...
pnl.AddView(lblText, 0dip, 70dip, 220dip, 90dip)
again, are these numbers in relation to the activity or the dialog?