Create your account

Already have an account? Login here

Create account

32. Padding vs. Margin

Design + Code an Android App from Scratch

Woah, wait a second..

Scrounge up some loose change to buy this course, or login to your account to view this lesson.

Alright, buy it for $25 Or login to your account if you purchased already.

This video illustrates the difference between padding and margin. Padding controls the spacing between the content inside the View and the boundaries of the View. Margin controls the spacing between the View and boundaries of the ViewGroup inside which the View is placed. Padding and Margin values can be specified in either XML or code.

Course Cirriculum