When I draw a rectangle on the Activity having width = activity.width and height = activity.width (which means the rectangle has the same width as height) the resulting rectangle is NOT a perfect rectangle. It looks higher than its width. What am I missing here? A pixel density problem? How can I draw a perfect rectangle?