0

I am trying to design the app for Nexus 10. For dimensions I have made a values-sw800dp and put the dimensions in the dimens.xml file. However the device is not reading the dimension from dimens.xml file for the Nexus 10 instead it's reading it from values-sw360dp/dimens.xml folder.

What am I doing wrong? What is the values-sw<>dp folder for the Nexus 10?

dur
  • 15,689
  • 25
  • 79
  • 125
user2498079
  • 2,872
  • 8
  • 32
  • 60

2 Answers2

1

Nexus 10 has ~299 ppi pixel density . so you can use values-xhdpi folder for that . see this question Steven Byle provide us a very good answer.

Community
  • 1
  • 1
KDeogharkar
  • 10,939
  • 7
  • 51
  • 95
0

More common answer: to get know dp for any device, just install Developer Tools app from market and you always will know the properties of the device. P.S.: to get to know how to calculate dimension pixels (dp), read this article.

enter image description here

Alex
  • 617
  • 4
  • 15