Automobile Layout dynamically calculates the size and place of all of the views in your view hierarchy, predicated on constraints put on those views. As an example, you can easily constrain a switch such that it is horizontally focused with a picture view and thus that the buttonРІР‚в„ўs top side constantly stays 8 points below the imageРІР‚в„ўs bottom. In the event that image viewРІР‚в„ўs size or place changes, the buttonРІР‚в„ўs place automatically adjusts to suit.
This constraint-based approach to design enables you to build individual interfaces that dynamically respond to both external and internal changes.
Outside modifications happen once the size or form of one’s superview modifications.