Muthumani
Muthumani

Reputation: 115

Using two different layouts for a GUI

I am trying to design a GUI for two Android tablets. Both runs on Android 2.2. One is Samsung Galaxy Tab GT-P1000 and another one is China tablet. This China tablet is too big when compared with Samsung tab. I am trying to write two different xmls for a Single GUI based upon the tablet the respective xml file have to be loaded.

I have tried xlarge and large attributes for the layout folder but both the tabs take there resources from large.

And I also tried using layout-sw720dp and sw600dp both the tablets dint use this resource at all. Its just referring from normal layout folder.

Can anyone help me ?

Upvotes: 0

Views: 420

Answers (1)

Shankar Agarwal
Shankar Agarwal

Reputation: 34765

Samsung Galaxy Tab GT-P1000 take layout from layout-xhdpi if this not there then it will look for large.

Upvotes: 2

Related Questions