How can I use any layout in .xml files. Let I want to use Tablelayout, so I dragged it on Graphical Layout of an xml file, and then I want that layout should be in two columns ( if I want add “Name : ” in first column and “EditText” in another column.) but I am anable to do it.I am using Graphical layout. I want do like
Name : EditText (A textbox for Name entry)
Age : EditText (A textbox for Age entry)
Button (to save user entry)
How to design it.
Put this into your XML
There you go 😉