Android studio創(chuàng)建Activity的時(shí)候默認(rèn)ConstraintLayout布局 怎么修改其他布局呢
看到網(wǎng)上很多人說(shuō)改安裝路徑下的simple.xml.ftl里面的內(nèi)容即可,可4.2.1以上版本并不存在
Android Studio\plugins\android\lib\templates\activities\common\root\res\layout
這個(gè)路徑。
實(shí)際上不需修改配置文件。打開(kāi)File→Setting→Editor→File and Code Templates→other
然后修改里面的layoutResourceFile.xml就行了

image.png