I'm just trying to change the color of my comments so I can spot it faster. It's currently gray. I tried the settings but nothing that allows me to change the comment color.
Open your device's Settings app . Text and display. Select Color correction. Turn on Use color correction.
To change the background of the editor goto File, Settings, Editor, Colors & Fonts and select General. You'll see an item called "Default text". On the right of the window you will see a checkbox for background. Click in the color window and choose whichever color you prefer.
alt + c then alt + l (holding alt ) for line comment.
Android Studio > Preferences > Editor > Colors & Fonts
Uncheck "use inherited attributes" on the right, and it will tell you what to do.
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
*/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With