Tuesday, July 3, 2012

Re: [android-developers] Re: Getting action bar height while minSdkVersion is 7

On Tue, Jul 3, 2012 at 6:53 PM, limtc <thyechean@gmail.com> wrote:
> I am doing a painting program and the MotionEvent getY() returns contains
> the height of action bar. I need to subtract the height away.

Really? I would expect that the MotionEvent getY() would be with
respect to your View that is receiving the touch event.

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to Android Development_ Version 3.7 Available!

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate