0

I was previously working on a 1 month project using Android Studio. My xml layout was all well and good until I opened it up today and had the following as my xml code:

enter image description here

As you can see the preview is showing the correct data, but the code is not.

What happened, how can I retrieve my original code?

Some of the files were not backed up on a VCS.

Boron
  • 97
  • 8
  • 27

1 Answers1

0

You can check the android studio local history if your files were not backed up:

Right click on your app folder - select "Local History" and "show history" to see your latest file that got changed

enter image description here

Tamir Abutbul
  • 6,886
  • 7
  • 24
  • 48