Nandroider
Lurker
Hello All,
First time posting so go easy. I have searched the entire internet, twice I think, trying to figure out how Android handles different screen densities. I have read the official documentation and about a million different posts, but I think I must have missed a fundamental concept somewhere along the way. My problem is simple and is more theoretical than practical, so please don't ask why I would want to do such a thing...
I have a phone and a 7" tablet, both 480x800, with 240dpi / 131dpi respectively. In my main layout, I have a background image with a burned in spot for password entry. I am trying to overlay a textview positioned perfectly on the image for nice effect. All looks well in the Eclipse design window, but when deployed to the devices, it's always one or the other depending on how I tweak my margins/padding.
It was my understanding that as long as I use dp/dip, the system would scale accounting for different dpi, especially on devices with the same resolution. I hope I have explained my situation in enough detail, and thanks for your help!
First time posting so go easy. I have searched the entire internet, twice I think, trying to figure out how Android handles different screen densities. I have read the official documentation and about a million different posts, but I think I must have missed a fundamental concept somewhere along the way. My problem is simple and is more theoretical than practical, so please don't ask why I would want to do such a thing...
I have a phone and a 7" tablet, both 480x800, with 240dpi / 131dpi respectively. In my main layout, I have a background image with a burned in spot for password entry. I am trying to overlay a textview positioned perfectly on the image for nice effect. All looks well in the Eclipse design window, but when deployed to the devices, it's always one or the other depending on how I tweak my margins/padding.
It was my understanding that as long as I use dp/dip, the system would scale accounting for different dpi, especially on devices with the same resolution. I hope I have explained my situation in enough detail, and thanks for your help!
rientation