How do I change the comment colors in android studio?

if you make two asterisk block comment, automatically android will turn that comment green. It's default doc comment and you don't have to change any settings.

/**

green comment

*/

In new android studio version ( Android Studio Arctic Fox | 2020.3.1 Patch 4 ) go to -

Settings -> Editor -> Color Scheme -> Language Default

here can you customize all codes color including- comments, classes, Number and etc.

enter image description here


Android Studio > Preferences > Editor > Colors & Fonts

Uncheck "use inherited attributes" on the right, and it will tell you what to do.

screenshot