Every time I create views like Button and TextView in ConstraintLayout, they all get stuck at the top corner instead of where I placed
Button
TextView
ConstraintLayout
A quick, easy way to fix this is to click on the component (TextView, ImageView, etc.) and click the infer constraints button. It looks like 2 yellow plus signs.
infer constraints image