开发者

Is it possible to put layout xml's in subdirectories under /res/layout?

开发者 https://www.devze.com 2023-01-10 08:17 出处:网络
My layout files are growing and growing. So I came up with an idea of putting them in subdirectories. Is it possible? Simple code:

My layout files are growing and growing. So I came up with an idea of putting them in subdirectories. Is it possible? Simple code:

<inc开发者_C百科lude android:id="@+id/mLayout" layout="@layout/subdirectory/blahblah">

seem not to work.


The short answer is: no it isn't possible.

You can only make subfolders for different resolutions and screen sizes.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号