Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试执行以下操作:
1) 长按布局时向布局添加视图
2) 当手指仍在屏幕上时,触发 onTouch 以添加视图,就像您在添加视图后拉起手指并触摸视图一样
(这用于添加视图并拖动它而无需触摸两次)