界面設(shè)置
默認(rèn)的 Android Studio 為灰色界面生兆,可以選擇使用炫酷的黑色界面
- File | Settings... 打開(kāi)設(shè)置
- 選擇Appearance & Behavior > Appearance
- 在UI Options-Theme 中選擇Darcula
系統(tǒng)字體設(shè)置
- File | Settings... 打開(kāi)設(shè)置
- 選擇Appearance & Behavior > Appearance
- 在UI Options 中勾選Override default fonts by(not recommended)
編程字體設(shè)置
- File | Settings... 打開(kāi)設(shè)置
- 選擇 Editor > Colors & Fonts > Font
- 在 Scheme 中點(diǎn)擊 Save As... 后修改
默認(rèn)文件編碼
- File | Settings... 打開(kāi)設(shè)置
- 選擇 Editor > File Encodings
- IDE Encoding、Project Encoding劝贸、Properties File(*.properties)
快捷鍵
- File | Settings... 打開(kāi)設(shè)置
- 選擇 Keymap
Android Studio編輯區(qū)域寒砖,去掉中部會(huì)豎線
- File | Settings... 打開(kāi)設(shè)置
- 選擇 Editor > General > Appearance
- 取消勾選 Show right margin (configured in Code Style options)
顯示行號(hào),方便查詢
- File | Setting... 打開(kāi)設(shè)置
- 選擇 Editor > General > Appearance
- 勾選Show line numbers
命名前綴柄慰,規(guī)范命名
- File | Settings... 打開(kāi)設(shè)置
- 選擇 Editor > Code Style > Java
- 選擇 Code Generation 標(biāo)簽
- 在Naming 中 Name prefix 下Field 添加一個(gè)’m’鳍悠,Static filed 添加一個(gè)’s’
設(shè)置注釋模板
- File | Settings... 打開(kāi)設(shè)置
- 選擇 Editor > File and Code Templates
- 選擇 Includes 標(biāo)簽,選中 File Header