Solved: This view is not constrained, it only has designtime positions…Android Studio

While developing an app and working with ConstraintLayout you might have encountered the following error and the design looks completely screwed.

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



This problem has a very simple solution. Simply Right Click on that particular element and go to the option Constraint Layout >> Infer Constraints
This will add few lines of code to all the elements and the problem with be solved.


  1. Greetings!

    I hope you are doing well. I am reaching you to contribute a guest post article to your website. This is a simple 3 step process:

    1. I will send you some interesting topic ideas for a guest post
    2. You will choose one topic out of those topic ideas
    3. I will send you a high- quality article then on your chosen topic

    Please note that I would just need a backlink within the main body of the article. Let me know if we shall start with the first step?


    Mary Jean

Leave a Reply

Your email address will not be published.