Android View Properties and Margin-Padding Gravity

 

In this video we see, What are the Padding and Margin in android? The padding is the space inside the border, between the border and the actual view’s content. Actually padding goes completely around the content: there is padding on the top, bottom, right and left sides. The Margins is outside of a View. The margin completely surrounded to content means it present top, bottom, right, and left sides of Content. Its are the between the border, spaces outside the border, and the other elements next to this view.Gravity is shifting the content and Layout Gravity shifting the Full view.


Leave a Reply

Your email address will not be published. Required fields are marked *