October 2017
Intermediate to advanced
294 pages
6h 49m
English
As with any normal view, our custom view will be subject to the layout manager's margins and to the view's padding. We should not worry that much about the margin values, as the layout manager will directly process them and will transparently modify the size available for our custom view. The values we've to take into consideration are the padding values. As we can see in the following image, the margin is the space the layout manager is adding before and after our custom view and the padding is the internal space between the view boundaries and the content itself:

Our view has to manage this padding appropriately. To do ...
Read now
Unlock full access