说明
今天安装完新版本的 Android Studio 后,新建项目发现没有layout文件夹,
网上搜索得知,原来是官方新增了选项。
调整后
IntelliJ IDEA 2023.2.1之前的版本,
Empty Activity是指Empty View Activity,
而现在Empty Activity是指Empty Compose Activity,
另外多了一个Empty View Activity的选项
这表明官方推荐使用Compose这种声明式的编程方式来描述UI,命令式的View即将成为过去式
免责声明:本号所涉及内容仅供安全研究与教学使用,如出现其他风险,后果自负。
参考、来源:
https://ask.csdn.net/questions/7929258
https://blog.csdn.net/buyueliuying/article/details/132627097