Android Studio注释如何不从行首开始

1、File--->setting

2、找到Editor,点Code Style

1.对于java注释设置

点java,然后选择Code Generation,去掉Line comment at first column,选择Add a space at comment start

2.对于xml注释设置

点XML,然后选择Code Generation,去掉Line comment at first column。