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:
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.