android - layout - Resize ImageButtons?

雨燕双飞 提交于 2019-12-02 08:20:24

I think the problem is due to scaling , it is not scaling down according to screen size . You need to make new drawable with proper densities for all three categories hdpi , mdpi and ldpi .

For calculating what density you require you can use this tool http://labs.skinkers.com/content/android_dp_px_calculator/

Scaling depends on two things screen size as well as screen density .

For More info you can look into the developer site you will find how android roughly scales the images

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!