我刚刚在64bit的windows 7上安装了Android Studio。 当我启动应用程序时,我们编写代码的屏幕背景是白色的。 我喜欢黑色或其他颜色。 我不确定我们是否可以改变颜色/主题或者增加更多的主题。
当前回答
在Android Studio 3.4.2中:
正如在之前的回答中提到的,你可以在外观和行为>外观中将主题更改为Darcula,以拥有默认的黑色主题。
因为macOS Mojave你可以在系统中使用暗模式。我的问题是,系统窗口栏仍然很轻,只适用于Android Studio:
注意,在主题选择器旁边有一个选项可以改变这一点:使用深色窗口标题
其他回答
窗户
文件->设置->编辑器->颜色和字体->
Mac OSX
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.
注意,这会改变编辑器的主题颜色,而不是整个应用程序的主题。
苹果操作系统
要在Mac上安装新的主题,点击首选项->插件->浏览存储库->选择类别“UI”并搜索主题名称,我推荐“材质主题UI”单击绿色按钮“安装”,然后在安装后重新启动。
如果你的主题是。icls格式。
右键单击finder,选择“转到文件夹” 输入“~/Library/”进入隐藏的库文件夹 找到“偏好” 找到“AndroidStudio2.x” 如果你没有“colors”文件夹,那就创建一个 将.icls主题文件粘贴成颜色。
将安装新的主题。
要改变主题,点击首选项->编辑器->颜色和字体,然后选择方案。
您可以从https://github.com/sdvoynikov/color-themes下载新的主题——请注意,该项目目前已弃用,但源代码仍然可用。
一旦你下载了。jar文件,转到文件->导入设置…然后选择下载的文件。
在2.3.2中,我可以通过以下方式更改主题
View -> Quick Switch Theme -> 6.Look and Feel
推荐文章
- 警告:API ' variable . getjavacompile()'已过时,已被' variable . getjavacompileprovider()'取代
- 安装APK时出现错误
- 在Android Studio中创建aar文件
- 调试在哪里。Android Studio中的密钥存储库
- Android Studio, logcat在应用程序关闭后清理
- Android Studio中的。iml文件是什么?
- Android Studio无法找到有效的Jvm(与MAC OS相关)
- 在Android Studio中改变矢量资产的填充颜色
- 用Android Studio进行调试永远停留在“等待调试器”状态
- 错误:无法运行mksdcard SDK工具
- Android Studio的警告屏幕选项在哪里?
- 如何同步项目到GitHub与Android工作室?
- Android Studio在哪里保存ProGuard映射文件?
- 在android studio中不能小写按钮文本
- Android Studio突然无法解析符号