Can I change the default layout in Android Studio?
问题 When I create a new project with a Blank Activity in Android Studio, it uses a RelativeLayout by default. I'd like to change that Blank Activity default to LinearLayout, rather than editing each activity - is that possible? 回答1: I have already answered this question here: How to change a default template files in Android Studio. Basically you need to look at the recipe_fragment.xml.ftl file, so you, know which files are used for the template. The default template files are located in: ...