Thanks for the reply Romain but you misunderstood my problem, its not the long click I am worried about but that my textViews are not showing up in my linear layout when I call addView
On Feb 9, 6:14 pm, Romain Guy <[email protected]> wrote: > You don't need to set a background color, you just need to call > setWillNotDraw(false); > > > right now I have my own textView > > class in there that I plan to override onLongClick for but I have > > tried this with a regular textView as well just to be sure, and it > > still doesn't work. > > You need to make the view long clickable. > > > > > > > > > On Feb 9, 3:30 pm, TreKing <[email protected]> wrote: > >> On Tue, Feb 9, 2010 at 3:21 PM, schwiz <[email protected]> wrote: > >> > The problem with adding them in the constructor is that I want to add > >> > them dynamically, also I need to add the view in my xml file because > >> > it is only one small part of a larger layout. Thanks for the advice > >> > though. > > >> One of my LinearLayouts is filled with views dynamically, so this should > >> definitely work. Very strange. What I would do is: > >> 1 - Replace your LinearLayout with a regular one and see if that works. At > >> least you can determine if that's the problem. > >> 2 - Change the background colors on your LinearLayout and views your adding > >> to something that stands out (Pink, Green, et). See if anything shows up > >> that way. > > >> This may help at least figuring out where you're going wrong. > > >> --------------------------------------------------------------------------- > >> ---------------------- > >> TreKing - Chicago transit tracking app for Android-powered > >> deviceshttp://sites.google.com/site/rezmobileapps/treking > > > -- > > 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 > > -- > Romain Guy > Android framework engineer > [email protected] > > Note: please don't send private questions to me, as I don't have time > to provide private support. All such questions should be posted on > public forums, where I and others can see and answer them -- 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

