5
I needed to inflate a form into a tab, always make the form in xml, but this time I did it via code, someone knows how to display my class instead of xml in a FragmentTab
?
Code to inflate an xml in a View
:
if(this.getTag() == "formulario3"){
return inflater.inflate(R.layout.formulario3, container, false);
}
Friend, I don’t understand your question! Instead of creating the xml, you created the elements by programming it in a Fragment?
– Thiago Luiz Domacoski