Share My Creation Generate Code Stuff from Layout Files

Wanted to learn about JSON and the innards of layout files.

Thanks to @Erel tutorials and this gem: https://www.b4x.com/android/forum/t...s-files-to-json-and-vice-versa.41623/#content

I came up with something to help save lots of typing. I basically plagiarized BalConverter with some amateur, yet working code.

B4JPic.png


You can copy/paste into your code. Lots more could be done ...
 

Attachments

  • BalToDefs.zip
    7.8 KB · Views: 138

mmieher

Active Member
Licensed User
Longtime User
Forgot to mention you also end up with a json of the layout in the target folder.
 
Top