Android Question Same App with different layouts for Tabets

stu14t

Active Member
Licensed User
Longtime User
I have an app that runs on a phone size platform using a Tabhost (4 tabs)

I have copied all the views from each layout and can get them all to fit on a single layout for a 7" and 10" tabs without the tabhost.

I've done a search but can't seem to find what I'm looking for on how to handle these contrasting layouts. e.g making sure the correct view loads for each variant.
 

stu14t

Active Member
Licensed User
Longtime User
Ideal,

Many thanks Klaus. Exactly what I need but wasn't sure how to handle loading the correct layout.

Is there a table for the deice sizes for future reference?
 
Upvote 0

stu14t

Active Member
Licensed User
Longtime User
Thanks Klaus, works a treat but now all the tab orders are wrong :)

Oh well, you cant have everything
 
Upvote 0

stu14t

Active Member
Licensed User
Longtime User
Between the EditTexts. I've sorted it out using the Field Order class

What I said was slightly misleading, I was using TAB order in the old VB sense not Tabs from the Tabhost
 
Upvote 0
Top