I have an idea sprung from the shortcut that Google Photos nowadays puts in the camera (after you have made that setting in Google Photos): https://www.cnet.com/how-to/add-a-google-photos-shortcut-to-your-android-camera-app/
But whats the basic principle behind the implementation of that floating shortcut that shows up ONLY in the camera (and is invoked by taking the first picture)?
My goal is to make such a system overlay button/image that shows ONLY in/over specific apps.
If its any lead, the Google Photos shortcut overlay moves on top of for example Facebook chat heads. And it is hidden/gone when device has been in standby/sleep, then yoy have to take a new picture for it to show up.
Thanks for any advice!
//Magnus