Do we have a tool to convert the Android xml layout to .java files?


I have my layout files in XML. But I want to create my views programatically in my Java code. Are there any tools to convert XML layout files into the equivalent Java code?

you can try: Mirror 1 Mirror 2

This service provides an automatic conversion of Android XML codes (tags and Attributes) to equivalent Android Java methods. All you need is some XML code and you are good to go.