I just encountered a nuance to object alignment guidelines (for mobile) that I wasn't aware of, and hoping I can get more clarity.
Coming from web design, my experience is that objects should always align on their outermost edge of alignment. In other words, a block of left-aligned text should always align with the outer left edge of a padded box containing text (not the text inside the box). Now I'm hearing this rule doesn't apply on mobile? When I look at apps on an iPhone, I can see a mix of both scenarios, so it doesn't seem well-followed. Nor can I find explanations why there would be this optical difference on mobile? At least not where I'm looking on Apple's Human Interface design. Haven't looked at Material design just yet for this.
Here's a visual representation of what I've always believed:



