I want to allow the user to dynamically create a "custom screen" by selecting from the current set field on the runtime I i.e., everything on the phone should be done on the phone. For example - the current group of the field = User A field wants to create a new screen with name, location and age. And User B just wants to put a screen with name and picture. This screen must be continuous and should be able to save, query, and edit information in the local database on the phone. Any help on how to achieve this in Android will be appreciated. Thanks You want to make these sequences dynamically in Java ( Not using the layout) I will put some type of XML schema together, and then save it to the DB or device. After that you can do the following: {name, location, picture, age} .
// while the phonetic code (xmldoc is not empty) {see v = null; If (XML calls to create a text view) {v = new text view (this); ...} and if (XML tells to create an image view) {v = new ImageView (this); ...} To add V to the linear layout or to set the contents of the root view will be close to all types.
Comments
Post a Comment