Martin Marconcini
Martin Marconcini

Reputation: 27236

Changing Android Studio tab color for Unit Tests

I am aware that is possible to change the tab colors in Android Studio, but I would like to know if anybody has found a way to change the tab colors for Unit Tests.

As you probably know, the Tabs for Unit Tests have a distinct color (greenish if you use the defaults I think); this is true for Android projects (not sure about others).

In settings, it's possible to alter Both the foreground, background, and underline of active and inactive tabs, but I found no mention of "tests". Am I missing a setting?

Upvotes: 2

Views: 247

Answers (1)

Martin Marconcini
Martin Marconcini

Reputation: 27236

Turns out I was really missing a setting. They are located in a different place: Appearance & Behavior -> File Colors.

Android Studio Settings Appearance And Behavior File Colors screen

This same color is used when you search within a project, so use with care. Also this only affects the background of the text, so it must play nice with the tab colors you set in your normal tabs.

Upvotes: 2

Related Questions