How To Set Relative Layout As Default Layout
I usually use Relative layout for most of my activity. I want to make Android studio create Relative layout by default when I create new activity, instead of Constraint Layout. Is
Solution 1:
- Right click on layout folder -> New -> Edit File Templates...
- A dialog opened, go to "Other" tab.
- Change the content of "LayoutResourceFile.xml" and "LayoutResourceFile_vertical.xml" Change root tag to the type of layout you want. Hope this help :)
Solution 2:
goto '...\Android\Android Studio\plugins\android\lib\templates\activities\common\root\res\layout\simple.xml' and change default layout
Post a Comment for "How To Set Relative Layout As Default Layout"