Problems with "tools: layout_editor_absoluteY / X" Android Studio: This view is not constrained

0

I have problems with the restrictions of the tags of "tools: layout_editor_absoluteY / X"

shows me the message:

  

This view is not constrained, it has only design time positions, so it   will jump to (0,0) unless you add constraints

I have problems with the restrictions of the "tools: layout_editor_absoluteY / X" tags

    
asked by Ladiv 12.03.2017 в 04:30
source

1 answer

3

You are using a ConstraintLayout , and the message in the case of adding a ImageView is:

  

This view is not constrained, it has only design time positions, so it   will jump to (0,0) unless you add constraints

This message is not an error, it is just a warning about the ImageView being displayed in the upper left corner (coordinates 0,0), unless you define restrictions .

You must define horizontal and vertical constraints to position your view in a certain area of the screen, by dragging the circles defined in the borders of the one planned:

    
answered by 24.03.2017 в 18:28