I did but it wasn't very helpful. I have just this minute solved it though I needed something like
EditText et = new EditText(v.getContext()); Thanks ----- Original Message ----- From: Justin Anderson To: android-developers@googlegroups.com Sent: Friday, September 07, 2012 3:07 PM Subject: Re: [android-developers] How to add a dynamic editable text area to a LinearLayout 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 <i...@knutsford-software.co.uk> 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en