D devmobile Active Member Licensed User Sep 4, 2017 #1 I make library that in this library i use layout can i add this layout to library and then Compile to Library?
I make library that in this library i use layout can i add this layout to library and then Compile to Library?
azzam223 Active Member Licensed User Longtime User Sep 4, 2017 #2 you can only reference to the activity in the library and layout name then use loadlayout sub to load it you can't you layout inside library Upvote 0
you can only reference to the activity in the library and layout name then use loadlayout sub to load it you can't you layout inside library
D devmobile Active Member Licensed User Sep 4, 2017 #3 azzam223 said: you can only reference to the activity in the library and layout name then use loadlayout sub to load it you can't you layout inside library Click to expand... It is bad, Is there other way? Upvote 0
azzam223 said: you can only reference to the activity in the library and layout name then use loadlayout sub to load it you can't you layout inside library Click to expand... It is bad, Is there other way?
azzam223 Active Member Licensed User Longtime User Sep 4, 2017 #4 How Use Want To Use Layout in library You Can Create xml Layout file then add it through #Additionalres then Call it with xmllayoutbuilder library I don't know it is possible To add layout as an additional Resource or not If you want To load it through library you must include activity module because you can't load it through the class https://www.b4x.com/android/forum/threads/xmllayoutbuilder-load-xml-layouts.33762/ Last edited: Sep 4, 2017 Upvote 0
How Use Want To Use Layout in library You Can Create xml Layout file then add it through #Additionalres then Call it with xmllayoutbuilder library I don't know it is possible To add layout as an additional Resource or not If you want To load it through library you must include activity module because you can't load it through the class https://www.b4x.com/android/forum/threads/xmllayoutbuilder-load-xml-layouts.33762/
D devmobile Active Member Licensed User Sep 4, 2017 #5 azzam223 said: How Use Want To Use Layout in library You Can Create xml Layout file then add it through #Additionalres then Call it with xmllayoutbuilder library I don't know it is possible To add layout as an additional Resource or not If you want To load it through library you must include activity module because you can't load it through the class https://www.b4x.com/android/forum/threads/xmllayoutbuilder-load-xml-layouts.33762/ Click to expand... Can i add xml Layout file in library? Upvote 0
azzam223 said: How Use Want To Use Layout in library You Can Create xml Layout file then add it through #Additionalres then Call it with xmllayoutbuilder library I don't know it is possible To add layout as an additional Resource or not If you want To load it through library you must include activity module because you can't load it through the class https://www.b4x.com/android/forum/threads/xmllayoutbuilder-load-xml-layouts.33762/ Click to expand... Can i add xml Layout file in library?
D devmobile Active Member Licensed User Sep 4, 2017 #6 I need that any file that i need to it,in first add to library and then compile to library Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Sep 4, 2017 #7 Add the layout file to any project that references the library. Upvote 0
D devmobile Active Member Licensed User Sep 4, 2017 #8 Erel said: Add the layout file to any project that references the library. Click to expand... I know but i want to make a complete library without add any layout or resource or font or ... Upvote 0
Erel said: Add the layout file to any project that references the library. Click to expand... I know but i want to make a complete library without add any layout or resource or font or ...