How to disable the preview of xml reference values in Android Studio settings/configuration?
For Java files you can go to Preferences->Editor->General->Code Folding and uncheck "Android string references" but this only applies to code not to xml layouts
– Oleg Bogdanov