android - Easy way to scale image based on other image's scalesize? -
i have layout imageview entirely fills view. has gap in middle button positioned. when there no stretching fits eachother. because button has different drawables different states, needs decoupled rest of graphics.
however, when size of phone small, background image scale, centered image ofcourse not. leads being out of proportion, , taking more space needed.
is somehow possible scale imageview based on scale of imageview? or there way make work? (i thinking making button image large other background image transparant space around it, auto shrinks much).
you should use scaling factor each screen density.
maybe can , explain how solve problem http://dexxtr.com/post/50327457086/multiple-screens-and-scaling-android-ui-images
Comments
Post a Comment