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


当前回答

打开文件>设置, 现在在IDE设置下点击外观,从下拉菜单中选择你选择的主题。 你也可以安装主题,它们是jar文件 通过 文件>导入设置,选择文件或您的选择,然后选择ok 弹出一个重新启动工作室将打开点击是和工作室将重新启动和您的主题将被应用。

其他回答

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

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

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

按Ctrl+ '(反引号)。 然后选择“切换配色方案”或按1。 选择“德古拉”或按2。

您可以从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.

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

至于其他主题,我访问了https://plugins.jetbrains.com/search?headline=164-theme&tags=Theme,并下载了其中一个。我关闭了所有打开的标签,并简单地拖放了jar文件。这就是Android Studio提示重启的方式。我尝试导入前面提到的jar文件,但它根本不起作用。