Android Studio

[error] This view is not constrained, it only has designtime positions, so it will jump to (0,0) unless you add constraints

오늘은 집 2022. 5. 23. 01:36

[에러내용]

This view is not constrained. It only has designtime positions, so it will jump to (0,0)

at runtime unless you add the constraints 

 

[해결방법]

"Infer Constraint"  옵션을 활성화하면 해결된다. 자세한 방법은 아래를 참고하자.

 

https://stackoverflow.com/questions/45226854/this-view-is-not-constrained-it-only-has-designtime-positions-so-it-will-jump

 

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

This view is not constrained, it only has designtime positions, so it will jump to (0,0) unless you add constraints. The layout editor allows you to place widgets anywhere on the canvas, and it r...

stackoverflow.com