https://github.com/DrKLO/Telegram/blob/e9e40cb13ea942b148b25...
The compiled code will be fine, probably. It won't be much different from that would happen if they used the standard method of xml files and separate classes for that stuff, and might even be slightly faster.
But it surely is less maintainable, and the code definitely doesn't look generated to me. Maybe if you count copy-paste as code generation.
I hope they don't use Atom as an editor, because it surely won't be able to cope with such a file. [/s; but might even be true. not tested.]
This is as if someone used a tool to translate UI code from some other platform to Android (completely into Java) and forgot to refactor.