SethPDA
SethPDA

Reputation: 62

How to make layout for Nexus4 and Galaxy Nexus separately?

I am trying to make my calculator app to be compatible with all types of screens. These are my layout folders:

in this case, Galaxy Nexus and Nexus 4 uses the same layout for some reason: layout-sw360dp, but their layout isn't matching. If I change it for the Nexus 4, it will screw up the Galaxy Nexus: enter image description here

Upvotes: 1

Views: 764

Answers (1)

Sagar Maiyad
Sagar Maiyad

Reputation: 12733

For Nexus 4 use: layout-xhdpi folder .

For Galaxy Nexus use: layout-sw360dp folder.

Upvotes: 1

Related Questions