Skip to content

Latest commit

 

History

History
4 lines (3 loc) · 262 Bytes

note.md

File metadata and controls

4 lines (3 loc) · 262 Bytes
  • 要注意android上view根据onLayout得到layout.x, layout.y计算出的值, 与ios上有些许差异, 例如, android上根据原点定义一个view绝对对位, left:10, top: 10, 得到的x = 9.9, y = 9.9, ios上没有此问题, 总能得到x = 10, y = 10