adding components to an existing xml file programmatically

carlking

New Member
i have a layout that is already defined in XML. I want to add a ListView to it that displays variable data from a saved file. The data is not fixed in size and existing data can be edited by the user so, im not sure you can store it in res.Due to my lack of knowledge i feel programmatically creating layout components are more advantageous(listview) while other components are better done through the xml files.Is there a way where you can use both xml and java to create a layout? Thanks.
 
Back
Top