我刚刚在64bit的windows 7上安装了Android Studio。 当我启动应用程序时,我们编写代码的屏幕背景是白色的。 我喜欢黑色或其他颜色。 我不确定我们是否可以改变颜色/主题或者增加更多的主题。


当前回答

如果你只是需要改变(严格来说只是)编辑器的背景为自己的颜色。

首选项>编辑器>颜色和字体>常规>默认文本>背景

尽管你需要保存为你自己的主题。

其他回答

我使用android studio 2.2.3,我能够通过以下步骤更改主题

去文件>设置它打开一个窗口像附加图像 然后编辑>颜色和字体 从方案下拉列表中选择主题 现在选择Ok

文件- >设置- >外观

有一个带有各种主题的下拉框。

Download a color theme you like - some sites host these, and some GitHub repos may offer them as well. [Editor's note: the website previously linked here has been replaced with spam] Import the theme. File -> Import Settings. Navigate to the theme-name.jar. Click the "Ok" button. This will tell you restart your application, at least it did for me, and it automatically selected the theme for my editor. Change the editor's theme color by going to File -> Settings -> Editor -> Colors & Fonts. Select the scheme and click the "Ok" button.

注意,这会改变编辑器的主题颜色,而不是整个应用程序的主题。

Dayle Reese有一套惊人的配色方案,可用于AndroidStudio和Intellij。根据您使用的IDE,这些ICLS文件将进入特定的目录(这是针对Windows):

Android工作室

% USERPROFILE /。AndroidStudio / config /颜色

IntelliJ

USERPROFILE % -。IntelliJIdea /配置/颜色

将ICLS文件放在上面的一个目录中之后,重新启动IDE,以便它选择新的主题。还有一个不错的页面包含了大部分/所有主题的预览,这样你就可以找出你最喜欢的主题。享受。

您可以从https://github.com/sdvoynikov/color-themes下载新的主题——请注意,该项目目前已弃用,但源代码仍然可用。

一旦你下载了。jar文件,转到文件->导入设置…然后选择下载的文件。