On Thu, Oct 7, 2010 at 9:15 AM, Thibaut <[email protected]> wrote: > The second trouble is resolved thanks to another message in this > google group ( > http://groups.google.com/group/android-developers/browse_thread/thread/4e8ad65d5cc7f103/c0986e9ad4e655e2 > ). Nested scrollviews don't work anymore. > > Does anyone have an idea why several click attempts are necessary to > open the context menu by clicking on an ImageView (located inside a > ListView)?
Thibaud, Where in your code do you call setOnClickListener() ? Please remember that ListView recycles the views behind each list item. Quick peek at your Adapter.getView() method would help here. Daniel > On 6 oct, 20:30, Thibaut <[email protected]> wrote: >> Hello, >> >> I have some strange UI troubles with Android 2.2. >> >> First, I set an OnClickListener on an ImageView that should open the >> context menu. Nothing happens on the first click attempts, but the >> next ones trigger several context menu openings (the menu opens itself >> when a menu item is selected) ... >> >> Second, if the screen is landscape-oriented, a HorizontalScrollViewer >> doesn't scroll as expected. It breaks its self movements, giving the >> feeling to scroll step by step. Its behavior is normal when the screen >> is portrait-oriented. >> >> And everything is normal with Android 2.1. >> >> Thanks >> >> Thibaut -- 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

