My activity_main.xml is below, as you see, the height is set 40 dip.
activity_main.xml
And in MyEclipse, it looks like below: