There are several posting about aligning controls to the activity,
but none of those will work with a TabHost. Whether using code or
designer scripts, the numbers are relative to the activity but
the control is relative to the tab panel, which is offset below
the tabs. For example, none of these will work:
EditText1.Bottom = 100%y
EditText1.Top = TabHost1.Height - EditText1.Height
EditText1.Gravity = Gravity.Bottom
Is there a way to anchor a button to the bottom of a TabHost panel?
but none of those will work with a TabHost. Whether using code or
designer scripts, the numbers are relative to the activity but
the control is relative to the tab panel, which is offset below
the tabs. For example, none of these will work:
EditText1.Bottom = 100%y
EditText1.Top = TabHost1.Height - EditText1.Height
EditText1.Gravity = Gravity.Bottom
Is there a way to anchor a button to the bottom of a TabHost panel?