If I use ConstraintLayout constraints in activity layout file then it works perfectly, this is how I use them
app:layout_constraintLeft_toLeftOf="parent&