Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change android studio unused field/method color

I'm setting up a custom color scheme for android studio. I'm looking to remove the squiggly that is placed under unused methods and fields. But I can't find it anywhere. (it's also not under "language defaults".)

Does anyone know where I can find it?

screenshot

like image 946
SnelleJelle Avatar asked Nov 22 '15 11:11

SnelleJelle


People also ask

How do I change the primary color on my Android?

Open themes. xml (app > res > values > themes > themes. xml). Change colorPrimary to the primary color you selected, @color/green .

What is a color int?

public annotation ColorInt. Denotes that the annotated element represents a packed color int, AARRGGBB . If applied to an int array, every element in the array represents a color integer. Example: public abstract void setTextColor(@ColorInt int color)


1 Answers

Using IntelliJ 2017-

File | Settings | Editor | Colors & Fonts | General -> Errors and Warnings

Using IntelliJ 2018+

File | Settings | Editor | Color Scheme | General -> Errors and Warnings

like image 159
Bas Leijdekkers Avatar answered Oct 23 '22 04:10

Bas Leijdekkers