test layout padding, gravity