Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

android layout filename is green? and everything else is red

http://i.stack.imgur.com/hybC5.png

Can anyone explain why the text for one of my files is green?

The code for my layouts is working, and it usually would be underlined with red if there was a problem.

Any changes that I have made in the green file are also not showing up, in my specific case, a button is added to the green file but it's not being displayed

like image 873
Yang Lu Avatar asked Dec 14 '22 15:12

Yang Lu


1 Answers

This color coding has nothing to do with errors. Green indicates new files in the version control system (e.g., git), red is for files that are not added to the VCS, blue - for changed files since last commit, and white - for ignored files.

like image 190
AndroidEx Avatar answered Dec 17 '22 06:12

AndroidEx