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


当前回答

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

从https://plugins.jetbrains.com/下载主题文件(.jar) 开放android工作室 将.jar文件拖到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.

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

我想我应该把这个作为答案,给那些像我一样不小心搞砸的人! 这并不是最初问题的答案,但其他一些帖子提到了这篇文章,所以我想在这里添加它(因为它与问题有点相关)。希望它能帮助到一些人!

今天我不小心把我的IDE字体大小设置得很高(本打算设置为10,但不小心变成了110)。

现在,对我来说最大的问题是无法打开文件菜单(好吧,可以打开它,但无法进入设置选项),所以我必须弄清楚如何手动操作。

我在Users/%username%/中找到了Android Studio IDE设置。AndroidStudioPreview/config文件夹和其中的ui.inf.xml文件,其中我可以将选项FONT_SIZE更改为更易于管理的大小。

下图为1920x1080屏幕上110px字体的android studio:

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

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

In一样:

Android Studio -> Preferences... -> Editor -> Color Scheme -> Color Scheme Font 

将方案改为德古拉

文件- >设置- >外观

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