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


当前回答

在android studio 4.1.2版本中安装自定义主题

从https://plugins.jetbrains.com/下载主题文件(.jar) 开放android工作室 将.jar文件拖到studio中

其他回答

只是给以后的人留个便条。 要在Mac上添加更多主题,请将主题.icls文件放入

~/Library/Preferences/AndroidStudio/colors/

然后重新启动Android Studio。选择你的新主题

Android Studio > Preferences > Editor > Colors&Fonts

Android Studio可以使用为jetbrains IDE制作的任何主题。这是一个很好的Github回购,有许多不同的ide主题。

此外,Color Ide插件是一个很好的工具,它可以改变Android Studio中所有菜单的背景颜色,以匹配您的主题。尝试一下,IDE看起来会好很多。

Windows应该有类似的设置,只是主题目录会有点不同,搜索JetBrains Ide主题位置应该会给你结果。

窗户

文件->设置->编辑器->颜色和字体->

Mac OSX

Android Studio ->首选项->编辑器->颜色和字体

在Android Studio 3.4.2中:

正如在之前的回答中提到的,你可以在外观和行为>外观中将主题更改为Darcula,以拥有默认的黑色主题。

因为macOS Mojave你可以在系统中使用暗模式。我的问题是,系统窗口栏仍然很轻,只适用于Android Studio:

注意,在主题选择器旁边有一个选项可以改变这一点:使用深色窗口标题

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.

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

窗户

文件->设置->外观与行为->外观。

选择“theme”下拉菜单,然后在你安装的任何主题之间进行更改。它以插件的形式显示了默认的主题和您已经安装的任何主题。

Mac OSX

Android Studio ->首选项->编辑器->颜色和字体

选择“theme”下拉菜单,然后在你安装的任何主题之间进行更改。它以插件的形式显示了默认的主题和您已经安装的任何主题。