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
  • 14,335
  • 22
  • 74
  • 113
user2498079
  • 2,580
  • 7
  • 28
  • 49

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
  • 11,728
  • 7
  • 52
  • 93
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
  • 642
  • 4
  • 15