Rather surprised that I haven't been able to found detailed information about Android's box model. I mean how padding, margins, gravities, etc. they all interact together.
Other than this note about margin and padding in the dev site and this SO question there's not much information out there.
What I'm looking for:
- What are the defaults for margins, paddings, gravities, etc.
- Can manufacturers alter those defaults. If so, is it a good practice ignoring those defaults so your app looks consistent across different manufacturers?
- How are conflicts resolved, specially between a component and its children.
- Any difference between Android versions?
Is it really that simple that is not worth a deeper explanation in the docs?
Thanks,
Juan