Android Studio keeps changing my constrains when switching tabs between Design
and Text
tabs.
Before changing to Design
tab:
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">....
After switching to Design
and back to Text
:
<LinearLayout
android:layout_width="395dp"
android:layout_height="587dp"
android:orientation="horizontal"
tools:layout_editor_absoluteY="8dp"
tools:layout_editor_absoluteX="8dp">...
Must be a button I am missing. How do I prevent it from happening?