Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio Class name green?

What does it mean when the class name is green instead of redish?

enter image description here

Thanks

like image 470
james brown Avatar asked Jul 06 '15 07:07

james brown


People also ask

What does green mean in Android Studio?

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.

What is android color?

Android green is a shade of chartreuse or Caribbean green, defined by Google as the color of the "Android robot" logo for the Android operating system.

How can I color code in Android Studio?

You can try this . File -> Settings -> Colors&Fonts -> Java(XML) -> change foreground you want on the right- top whee I tag. if you want change XML code color , you can find XML to change . You can download jar.

How to use color in android?

Named Color Resources in Android (Note: To add a new resource first select the app in the Project explorer file. Then use the File or context menu, usually right-click, then the New option and select Android resource file. A color resource does not need to be stored in colors. xml, other file names can be used.)


1 Answers

It is related with Version Control. You have Enabled Version Control on your project:

  • Green means that the file exists in repository but there are changes made on that.

  • Red means that the file is not added to the repository

like image 122
hrskrs Avatar answered Oct 05 '22 13:10

hrskrs