Android Tutorial Simple Tab Example

Hi

I have just purchased Basic4Android and I am having difficulty getting started with it. I need to create an app with 3 tabs on top with each of the container having a webview, which should be locked to landscape mode (Device is a 7" tablet). I see there is a TabHost example, how do I lock it to landscape mode and scale it to full screen.

Thanks,
Jay
 

klaus

Expert
Licensed User
Longtime User
You must lock it in the IDE menu Project / Orientations Supported / Landscape.
You should set full screen in the Designer Scripts.
Set the properties View.Width = 100%x and View.Height = 100%y.
Replace View by the names of your views.

Best regards.
 
Top