steliosf
steliosf

Reputation: 3869

Android Studio change xml file appearance

I must have accidentally pressed a keyboard shortcut and now a weird green color appears in the empty space of an xml file in Android Studio:

enter image description here

Any tips how to remove that green color? I've checked the appearance settings but can't seem to find that option.

Upvotes: 0

Views: 207

Answers (1)

steliosf
steliosf

Reputation: 3869

Solved it:

Ctrl + Enter on the empty space -> Un-inject Language/Reference

(seems that this option is enabled by pressing Ctrl + Enter and selecting the 'Inject language or reference' option)

Upvotes: 1

Related Questions