admin 管理员组文章数量: 1086019
I had some experience with Android a few years ago, and I am trying to start again, but it seems some things have changed and I can't really find information on this issue. If you know where I can get the info I would very grateful.
I had the same problem asked in this question: Layout XML folder is missing in Android Studio What I need to know is what was explained on the second answer (I cannot comment there because I don't have enough reputation):
Select "Empty Views Activity" if you want to develop the app using JAVA. Select "Empty Activity" if you want to develop using Kotlin Language
It seems that doing it this way (I am starting with Kotlin) the layout does not get generated, and I do not know the reason. Should I be creating the layouts by hand? Or the way the visual part gets generated has changed?
On the empty project I created where there is no layout, there is a "Hello world" example that works just fine without the layout, that is why I think that the standard of doing things may have changed.
Thanks for your help
本文标签: Android with Kotlin how does layout workStack Overflow
版权声明:本文标题:Android with Kotlin: how does layout work - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.roclinux.cn/p/1744077596a2529639.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论