I know it is possible to set values for image's height and width with density float values depending on the screen specs.
DisplayMetrics metrics = new DisplayMetrics();
display.getMetrics(metrics);
mScale = metrics.density;
animationLayout.width = (int) (60*mScale);
animationLayout.height = (int) (60*mScale);
the imageviews I use look distorted a bit. Can you give me general idea/algorithm on how to make images look proportionally on different screen dimensions, densities? like this: get device's screen density. calculate all width/height - setWidth(50*mScale), setHeight(50*mScale)?