please, is it possible to create an element in B4A, which will behave like window? I mean e.g. combination of two red panels covering each other, where the intersection will be transparent (or let's say cut out).
Example is attached (over the picture with horse there is red panel with window).
Create a mutable bitmap with your needed dimensions.
Use paint functions to draw a rect in the bitmap with your favorite color.
Draw another smaller rect (or circle ) with full transparency.
Now create a BitmapDrawable, initialize it with your bitmap and assign it to the panel background.
The ABExtDrawing lib can help you with the paint functions.