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


当前回答

好吧,大多数答案都告诉你关于安装当前主题的问题,我将告诉你在2022年3月22日安装新主题的简单方法。

在android studio中按CTRL + ' 您可能会看到这个选项开关 从菜单中选择主题 然后您将看到已安装的主题。 更改此选项或单击最后一个选项“安装主题”直接安装新主题

其他回答

便于在Android Studio 3.0中参考。

单击“文件>设置>外观与行为>外观”

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

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

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.

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

Windows 7 - 64Bit 文件->设置->编辑器->颜色和字体->使用下拉框:“方案名称”并选择Darcula。

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

Android工作室

% USERPROFILE /。AndroidStudio / config /颜色

IntelliJ

USERPROFILE % -。IntelliJIdea /配置/颜色

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