padding: 1px 2px 3px 4pxWill give you 1 pixel of padding on top, 2 on the right, 3 on the bottom and 4 on the left. So if you want to zero all of an Android Rect do this:
myrect.top = myrect.right = myrect.bottom = myrect.left = 0;This isn't any law but I think its a nice practice.