I'd like to build an "extensible" custom layout which displays and hides a view at the right (see attached video). When the extension view is displayed, the current view slides at its left. The problem is the extension view could be an extensible view as well (see second part of the video), and this is troublesome: as you can see, there is a gap between the slided (main) view and extension one; I don't know how to get this working!
An important note is the "main" view doesn't know if its extension view it's an extensible view.
Code:
https://pastebin.com/53zAnDFE K