I have a GridLayout which is designed in XAML of PageA.
With 4 rows.
Row 0 inlines a control that creates a RelativeLayout with a panel and has the method for animating the panel in and out.
This Row spans the other 3 rows so that and is set to a height of 1 to cover the entire screen. This is so my animation logic in the control works consistently.
In the CodeBehind of PageA I have passed the View into the control and then the control adds the RelativeLayout with the panel into a temp var in the control.
Then in the in the CodeBehind of Page A I set its View to the temp var which now includes the panel that can animate in and out.
Then in PageA I have a button that calls the controls panel animate.
So all that works. PageA has all its contents + the controls contents and the button press animates the panel.
Issue is that the panel is designed to cover half of PageA's original content. The other half being the new panel.
The new panel has a button in it for testing and I can't click it. Focus seems to just be on PageA's XAML and it ignores clicks for any content from the panel that animates in.
What is a solution for this?