Android Question Make Tabhost fill entire screen


Active Member
Licensed User
Longtime User
Hi guys, i am still learning this, basically I have this code:
   Activity.AddView(TabHost1, 0, 0, 300, 430)

But I want to make the tab to fill the entire screen, regardless of device. So that is what 300 and 430 must mean. But how do I make it so that it fills 100% of any screen?