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.
我想做的是画一条线,沿着我的手指移动并移动那条线。我创建了一个自定义视图,并且我有一个有效的 onTouchEvent()。
我可以毫不费力地在 onDraw() 方法中绘制一条静态线。