> > I thought it was something like TextView tv = new TextView(null); to start > with but that crashes. >
Well... did you look at the error you get when it crashes? I'm guessing that you can't pass in null for a context... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Sep 7, 2012 at 7:55 AM, plw <[email protected]> wrote: > I am writting an app that reads a database and dispays the record > contents to the screen which can the be changed and the database updated. > How do I add the text field dynamically to the linearlayout do they are > editable? I thought it was something like TextView tv = new TextView(null); > to start with but that crashes. Thanks > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

