while click Settings->Developer options->Pointer location, I can get the XY coordination of any point on the screen. I am wondering if it possible to do the same thing programmatically?
I used setOnHoverListener but the biggest problem is that I can't get the XY coordination as long asthe pointer is in navigation bar zone.