Open Efreak opened 11 years ago
Okay I understood your problem. I am not sure if that is fixable as there is no way to know how much percent of the app is visible, but will try that anyway. I have an idea that is crazy enough to work.
As I mentioned before, I don't actually have any experience with android, so I have no idea whether or not this is possible (or feasible), but perhaps you could check to see the absolute screen size, then check the position of the buttons.
When you place shortcuts for the long-press on home button, it arranges them in a big circle around the home button. I placed my buttons at the bottom center of the screen, and when I went to open an app with long-press on the home button, only those shortcuts that were at or above the level of the buttons could be used.
I'm trying to take a screenshot now, but having issues because the overlay disappears when I hold the power button to get a screenshot, airdroid is refusing to show an image of what's on the screen, and the 3rd party delayed-screenshot app I got is just showing a black screen...
Anyways, I've got a crude drawing of what happens: This is what happens when the floating keys are in the middle of the screen. All very well and good. This, unfortunately, is what happens when the keys are at the bottom of the screen. It doesn't use the edges of the screen as a boundary; it simply arranges the items in a circle a set distance away without checking to see if that spot is on the screen or not.
Something else I just noticed now, it would probably be better to set the center of the circle as the home button, not the center of the floating keys (with the hidden move button, this looks a bit strange).