• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tablet dimensions

 
Naishadh Parmar
Ranch Hand
Posts: 95
C++ Java Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hey,

I wanted to know which dimension of a tablet device is considered as its width, the longer one or the shorter one?
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's probably partly personal preference, but commonly a tablet is considered a portrait device - so the height would be the larger number.
 
Naishadh Parmar
Ranch Hand
Posts: 95
C++ Java Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

That is exactly my point. If I write-



Which dimension will I get, the longer one or the shorter one?
 
Maneesh Godbole
Saloon Keeper
Posts: 11343
16
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Isn't it easier to run that code and see for yourself?
 
Naishadh Parmar
Ranch Hand
Posts: 95
C++ Java Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Maneesh,

I don't have a physical tablet and when I tried to run it on an emulator, the emulator itself was giving errors, probably due to some problems in the emulator itself but, anyway.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic