user61252
user61252

Reputation: 429

Android Studio, change the editor background color (not the whole theme)

The same question was marked as "duplicate" even though it obviously was not a duplicate. At least it should be obvious to anyone who is familiar with configuring an editor. When you want to change the background color, you aren't talking about changing the whole theme, you are talking about changing the background color.

Is there a way to change only the background color in Android Studio editor?

Upvotes: 32

Views: 53072

Answers (8)

gallosalocin
gallosalocin

Reputation: 975

Update 2023:

Android Studio > Preferences > Editor > Colors Scheme > General

Search for Text > Default text and change the background color

enter image description here

Upvotes: 3

Miguel Tepale
Miguel Tepale

Reputation: 355

Android Studio 4.1.2 on Mac

File -> Preferences -> Editor -> Color Scheme -> General -> Text -> Default Text

Upvotes: 2

AndroidStudio 3.3.2

1st step:

global scheme

2nd step:

enter image description here

Upvotes: 2

Venu G.
Venu G.

Reputation: 427

In Android Studio 3.2.1 Windows (latest version as of today - Nov 2, 2018), go to File > Settings > Editor > Color scheme > General > Text-Default text. One can change foreground and background colors using the panel on the right.

One can change the bottom logcat panel colors similarly - go to File > Settings > Editor > Color Scheme > Console Colors > Console (or log Console)

Upvotes: 6

DSlomer64
DSlomer64

Reputation: 4283

None of the Answers above have correct info for Windows Android Studio 3.1.2.

On Mac, apparently this works: go to Android Studio > Preferences > Editor > Colors & Fonts > General, but we Windows folk don't have an Android Studio tab or option and Preferences isn't an option anywhere.

We have File > Settings > Editor. Here's the screen with the only conceivable next links to click highlighted:

enter image description here

But here's what I see when I click General. I can select this background:

enter image description here

But I can't live with that.

In Windows 7, AS 3.1.2 the menu sequence--File > Settings > Editor > Color scheme > General > Text > Default text--takes you to a screen where you can set the foreground and background colors via a "color circle" or by typing in your favorite RRGGBB code(s).

enter image description here

I was pleasantly surprised by how an error in an xml file showed up (and the current line):

enter image description here

Upvotes: 0

ismail
ismail

Reputation: 301

go to : Android Studio > Preferences > Editor > Colors & Fonts > General

enter image description here

Upvotes: 16

user3154790
user3154790

Reputation: 557

Sorry, but I believe you all have this one wrong. 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. Now the entire editor window will show that color as the background.

Upvotes: 36

LukaCiko
LukaCiko

Reputation: 4445

Yes it is. Open Settings (Preferences on a Mac) and under IDE Settings expand Editor, Colors & Fonts and select General. You'll see Background in a menu on the left side. Click on the checkbox next to it if it's not ticked already and then double click on the square filled with current background color to get the color picker.

Upvotes: 3

Related Questions