(Source code introduction:
The only drawback of this demo is that the overridden view defaults to the upper left origin of the screen as the reference point. I haven't found any good way to make this overlay view directly, such as
The controls we usually use are directly in the layout we need. Now we temporarily use multiple nested layouts to achieve positioning. We also look forward to the guidance of forum leaders.)