Jim S
Jim S

Reputation: 427

Android tvdpi layout

This is driving me crazy ! I want the Nexus 7 and the other normal 7" tablets to use different layouts. I tried multiple combinations but they always end up using the same layout.

Ex:

With this example , both the 1024x600 tablet and the Nexus 7 end up using the tvdpi layout. That's strange since the 1024x600 is not a tvdpi.

So how can I have separate layouts ?

Upvotes: 0

Views: 3255

Answers (1)

jumper0k
jumper0k

Reputation: 2166

I think that 1024x600 is hdpi. And if you replace mdpi with hdpi everything will be fine. Android can choose layout-sw600dp-tvdpi instead of layout-sw600dp-mdpi, because tvdpi is more similar with hdpi.

Upvotes: 1

Related Questions