Reprinted from hongyang, http://blog.csdn.net/lmj623565791/article/details/51592043
When creating a new activity, you can use some templates to reduce the input of code, then the location of these templates is in the subdirectory of the android studio installation directory, example: E:\Android\Android Studio\plugins\android\lib\templates \activities.
Please see the original text for details.