How to specify the width and height of an image in android for sw600dp-port-tvdpi drawable? -
i newbie android designing. developing app should suitable android devices including 7 inch , 9 inch tabs.
i @ present designing res
folder of type layout-sw600dp-port-tvdpi
.
i using drawable
folder of type drawable-sw600dp-port-tvdpi
.
i have used image 19px 19px drawable-mdpi
. can guide me how calculate pixels required tvdpi
drawable?
i have gone through developer's site , found out how pixels varies mdpi,hdpi , xhdpi.
and lastly, how should specify size of required images in android?
for tvdpi :
resources screens somewhere between mdpi , hdpi; approximately 213dpi. not considered "primary" density group. intended televisions , apps shouldn't need it—providing mdpi , hdpi resources sufficient apps , system scale them appropriate. if find necessary provide tvdpi resources, should size them @ factor of 1.33*mdpi. example, 100px x 100px image mdpi screens should 133px x 133px tvdpi.
more details : http://developer.android.com/guide/practices/screens_support.html
Comments
Post a Comment