I have this simple layout XML, and a green_square.png file which is 30X30 pixels
Use scale type "fitCenter" or "fitxy"