Use largest layer of a window to calculate relative layer positions
As a window can be built out of multiple layers we need to take one as the primary one which covers the entire window area. As it is not guranteed that the layer size will match the actual window size cause of synchronizaton delays with the Android side window manager we take the layer as primary which covers the largest screen area. This should solve most issues.
Showing
想要评论请 注册 或 登录