Home
Sign Up
Sign In
V2EX
›
问与答
Android 相关, popupWindow.showAtLocation(v,
Gravity.TOP
,x,y)的一些疑惑
Genokiller
·
May 10, 2019
· 1732 views
This topic created in 2579 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
·
1104 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 5414617a · 29ms ·
UTC 18:19
·
PVG 02:19
·
LAX 11:19
·
JFK 14:19
♥ Do have faith in what you're doing.
❯