BoxView ImageTappedArea = new BoxView()
{
ClassId = content.id,
BackgroundColor = Color.FromRgba(255, 255, 0, 0.5),
//BackgroundColor = Color.Transparent,
WidthRequest = 60,
HeightRequest =380,
HorizontalOptions = LayoutOptions.Start,
VerticalOptions = LayoutOptions.Start,
Rotation = 320,
};
Command ValidTapCommand = new Command(() =>
{
OnVeiwClicked(ImageTappedArea.ClassId);
});
var tgr = new TapGestureRecognizer { };
tgr.Command = ValidTapCommand;
ImageTappedArea.GestureRecognizers.Add(tgr);
absoluteLayout.Children.Add(ImageTappedArea);
I added this box view in the absolute layout, now the problem is i am not able tap the corners of the boxview
i can able to tap the center of the boxview only, what i am doing wrong here
anybody please help me