Hello,

I'm trying to use the new event onHover. I look the sample, the 
documentation...and nothing works. The onHover event should be done by a 
mouse pointer.

I create a simple xml file containing 1 LinearLayout and 2 buttons inside.

My java code is following

  findViewById(R.id.linearLayout1).setOnHoverListener(new OnHoverListener() {


        @Override
        public boolean onHover(View v, MotionEvent event) {
            Log.e("tag", "tag");
            return false;
        }


    });

LinearLayout1 is my linearlayout containing button. onHover is never called.

I tried a lot of stuff without success.

Let me know if you have an idea.

-- 
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

Reply via email to