3

I have a RelativeLayout with clipChildren="false". Then I have a view inside of it which has marginTop="-50dp".

So 50dp of the View inside RelativeLayout is actually drawn outside of RelativeLayout.

Now the problem is that the 50dp that is outside of RelativeLayout is not clickable, since it's outside of it's parent.

Is it possible to detect this click, or am I going to have to find another way to set up the layout?

Guy
  • 6,414
  • 19
  • 66
  • 136

1 Answers1

2

It seems like the answer is simple no.

I ended up completely changing my view hierarchy to get the View click working. If anyone has a better answer, please do post it and I will accept yours.

Guy
  • 6,414
  • 19
  • 66
  • 136