JasonMP wrote: > Hello, > > I'm getting some odd side effects when I set a header to my > ListActivities. The ListActivity actually allows you to scroll up > "behind" the header and click...which sends my app into a fit of > errors b/c my Lists are connected to a Cursor and selecting behind the > header returns a value of -1. Ive noticed this doesnt happen to any > of my Lists that dont have headers. Any ideas what would cause this/ > how to fix it?
If you're referring to addHeaderView(), try using the version that takes the boolean 3rd parameter, and pass in false to make it not selectable. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 1.0 In Print! -- 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

