To edit your File Header template, do the following:
1)Open Android Studio Preferences
dialog.
2)In the search box, write "File and Code Templates".
3)Select the left menu item "File and Code Templates".
4)From the middle tabular navigation section, select Includes
.
5)Select File Header
item that applies to the Java files.
6)You will find an editor section that allow you to edit it for the required pattern. Use the description section below to understand the different parameters that can be used.
/**
* Created by ${USER} on ${DAY},${MONTH_NAME_FULL},${YEAR}
*/
Note: For the name
attribute, you can simply write it directly without using attributes. Also you can add your company name or project name in the same way also such as:
/**
* Created by Sami on ${DAY},${MONTH_NAME_FULL},${YEAR}
* ABCDFG company,
* Dubai, UAE.
*/