1

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?

Idan
  • 5,405
  • 7
  • 35
  • 52

1 Answers1

0

It seemed to be a bug in Android Studio.

Once I upgraded to 3.0.1 the problem seemed to be resolved itself.

Idan
  • 5,405
  • 7
  • 35
  • 52