what is the difference between margin and padding in android layout?
Be it web development or Android development, margin and padding is standard parameters to position and style User interface elements. Both provides extra space/gap inside or outside the container. Then what's the exact difference? ... In simple words, margin means to push outside, whereas padding means to push inside.