Android Studio中加注释的快捷键

ctrl+/表示单行注释。

在Java中  //。。。

在xml中

<!---->

ctrl+shift+/表示多行注释。

在Java中  /*。。。*/

在xml中,可以换行实现多行注释效果。

<!---->