On Android studio when I code at night, it hurts my eyes when the background is white, how do I turn it to black? I'm referring to the following...
Preferences > Editor > Color & Fonts > General > Default Text > Background
Will directly change the background colour.
To change to a darker theme
File->settings->IDE settings->Appearance->Theme