Home
Sign Up
Sign In
V2EX
›
问与答
Android 相关, popupWindow.showAtLocation(v,
Gravity.TOP
,x,y)的一些疑惑
Genokiller
·
May 10, 2019
· 1744 views
This topic created in 2586 days ago, the information mentioned may be changed or developed.
popupWindow.showAtLocation(v,Gravity.TOP,x,y)方法,在 y 偏移量小于状态栏高度时,展示时显示在状态栏下方,当 y 大于状态栏高度时,却要额外减去状态栏高度才能正确显示,源码中没找到相关机制,求教大佬们
No Comments Yet
loca
owat
tion
gravity
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
1294 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 29ms ·
UTC 23:48
·
PVG 07:48
·
LAX 16:48
·
JFK 19:48
♥ Do have faith in what you're doing.
❯