Layout restriction is aimed at reducing the layout hierarchy and improving layout performance (technically, you do not need to make changes for different screen sizes, without overlapping, it works like a charm on a mobile phone, as well as a tab with the same limitations). Here's how to get rid of the above error when using the new layout editor.

Click on the small circle and drag it to the left until the circle turns green to add a left constraint (specify a number, say, x dp. Repeat with the other sides and leave the lower constraint empty if you have another underneath. 
Change According to the developers website. Instead of adding constraints for each view, when you place them in the layout, you can move each view to the desired position and then click "Infer Constraints" to automatically create constraints. more details here
onexf Jun 22 '16 at 7:09 2016-06-22 07:09
source share