コード例 #1
0
 bool IsViewInBounds(Android.Views.View v, int x, int y)
 {
     v.GetDrawingRect(_rect);
     v.GetLocationOnScreen(_location);
     _rect.Offset(_location[0], _location[1]);
     return(_rect.Contains(x, y));
 }