?What is the difference between margin and padding 


Generally, when we use padding or margin in views without background color we do not notice a difference between them when running the application


Put if the views have a background color if we use padding the color of views will interfere with each other other If the view is a button, our clicking of the button will be affected when the padding is used, the button will be our clicked when we touch the padding of the button(where the button view edges are aligned outward towards view group)


In Margin, if the views have a background color the views will leave a blank or white space between each other, also reverse padding in click button, click outside the button icon didn't affect, where the edges of the button are not outward but inward, that is like moving away from view group