摘要:
a View's onDraw() is called when:The view is initially drawnWheneverinvalidate()is called on the viewInvalidate can be called by you or the system whenever needed. For example, a lot of Views change how they look onTouch, like an EditText getting an outline and cursor, or a button being in the p 阅读全文