java/.xml/.kt extension, based on the logics that you have defined, and also the id that you define in template.xml.
template.xml Is a file that contains a display from your screen template dialog.The next step is create files and folders. Create a Folder with the Name of Your Templateįor example, you can use: other/Tab Activity with RecyclerView/ 3. Open Folderįor Windows user: /plugins/android/lib/templates/other/įor Mac user: /Applications/Android Studio.app/Contents/plugins/android/lib/templates/other/ 2.
In this article we will create a Tab Activity with RecyclerView on it. And it will take more time if you have to adjust each code generated by the template in the Android Studio to fit your team’s wishes.įor this reason, in this article we will discuss how to create a template on Android Studio that suits your needs, by using FreeMaker. However, if you and your team use a certain pattern in writing code, of course the template provided in the Android Studio often does not match what you want.