Jason Wieczorek
- Forum posts: 3
Jun 22, 2013, 9:13:36 PM via Website
Jun 22, 2013 9:13:36 PM via Website
Hi,
I am new to Android development and am working on my first app. I have an image for a button that I have placed in my drawable-xhdpi folder that is 240*100. While testing on multiple devices it seems to scale just fine. I feel this is not a good approach so I decided to create different sized images for each of the drawable folders to optimize the UI on a range of devices. I created a 150*63 image and placed it in the drawable-ldpi folder. To my shock, while testing the 150*63 image is drastically larger than the 240*100 image.
Can anyone explain why this is, it doesn't seem to make any sense?
Thanks in advance
I am new to Android development and am working on my first app. I have an image for a button that I have placed in my drawable-xhdpi folder that is 240*100. While testing on multiple devices it seems to scale just fine. I feel this is not a good approach so I decided to create different sized images for each of the drawable folders to optimize the UI on a range of devices. I created a 150*63 image and placed it in the drawable-ldpi folder. To my shock, while testing the 150*63 image is drastically larger than the 240*100 image.
Can anyone explain why this is, it doesn't seem to make any sense?
Thanks in advance
Recommended editorial content
With your consent, external content is loaded here.
By clicking on the button above, you agree that external content may be displayed to you. Personal data may be transmitted to third-party providers in the process. You can find more information about this in our Privacy Policy.