This is my activity layout in android studio:
ConstraintLayout1
- LinearLayout1
- Button1
- Button2
- ConstraintLayout2
- ConstraintLayout3
- Button3
- Button4
When I modify the background property of ConstraintLayout1, the layout changes automatically.
ConstraintLayout1
- Button4
- LinearLayout1
- Button1
- Button2
- ConstraintLayout2
- ConstraintLayout3
- Button3
Button4 automatically becomes the first in the root component tree.
My android studio version is 3.6.1, how to solve this problem.