I’m looking to adjust my page width when an android user rotates their phone to landscape. Problem is, I don’t know what the device width is to set an exact pixel amount for my container div. I guess at 640, but it doesn’t seem right. Does anyone know, offhand, what the device width for a landscape-oriented android device is? Or does that vary from device to device?
Thanks!
You shouldn’t be guessing for an exact pixel width. I will just use dip (instead of px) on some of the glue pieces (like padding or the sides) and just let the main application expand naturally to fill it up.