Android Studio color和font设置

来源:互联网 发布:网络上打鱼有人控制吗 编辑:程序博客网 时间:2024/06/16 04:09

目的:Android Studio color和font设置

环境:

系统:Windows 环境:AndroidStudio

步骤:

1. 设置 font & size
1. File->Settings 或Ctrl + Alt +S2. 找到 Editor -> Colors &Fonts -> Font3. 找到Primary font选项,在里面选择喜欢使用的字体。4. 在size框输入字体的大小。5. Apply–>OK
2. 设置代码编辑区color
1. File->Settings 或Ctrl + Alt +S2. 找到 Editor -> Colors &Fonts -> General3. 找到Text->Default text4. 选择右边Foreground/background来选取前景/背景颜色值。5. Apply–>OKPS:    护眼颜色,豆沙色  C7EDCC
3. 设置logcat color
1. File->Settings 或Ctrl + Alt +S2. 找到 Editor -> Colors &Fonts -> Android Logcat 或在上面的搜索框中输入Logcat3. 点中Verbose , Info, Debug等选项,然后在后面将Use Inberited attributes 去掉勾选4. 再将 Foreground 前的复选框选上,就可以双击后面的框框去选择颜色了5. Apply–>OK
4. 设置编辑器主题
1. File->Settings 或Ctrl + Alt +S2. 找到 Editor -> Appearance & Behavior3. 点中Appearance,在Theme里面选择对应的主题。4. Apply–>OKPS:打开http://color-themes.com/有很多Theme可供选择.1. 选择喜欢的样式下载下来,下载文件格式会是xxxx.jar2. 选择File—>Import Settings—>把刚才下载好的jar包导入3. 重启Android Studio4. File->Settings 或Ctrl + Alt +S5. 找到 Editor -> Colors &Fonts -> General3. 在窗口上半部分找到Scheme4. 点击下拉箭头,选择Theme(其中就会有刚才导入的theme)