I have this simple layout XML, and a green_square.png file which is 30X30 pixels
It's so simple. Just make the width fill_parent and height wrap_content. Here is the I figured it out.