jdekeij
jdekeij

Reputation: 200

View invalidation

I have a custom view and a button in a linear layout.

If I press the button I get an onDraw request in my view code, and if I release the button I do get another onDraw. Does anyone know how to avoid this?

Screenshot of the app can be seen here.

Upvotes: 0

Views: 188

Answers (1)

CommonsWare
CommonsWare

Reputation: 1007584

This is behaving as designed.

Upvotes: 1

Related Questions