Conflicting Overlay views

i have a problem with an overlay view. My wear app is working with an overlay set of icons.
My problem is that some watch faces create their own overlay view and as they are created after mine they catch the user touch instead of my app.
So i have to re create my view each time to be sure it’s working. But my view is rather complex so it’s taking a lot of time.

Is there a way to create a new “blank” view (that will be on the top) and copy the content of the older view ?

i have tried this but it doesn’t work:

SlideAppView overlayView2 = overlayView;

overlayView = new SlideAppView(instance);
overlayView =overlayView2;

the new view stays blank.

Source: android

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.