I have a view where i have overriden the onDraw() function for animation purposes. However there are some images i would to like to be static in the view do i have to draw these images in the onDraw() function as well or can i apply these images via XML or something as a template?
I have a view where i have overriden the onDraw() function for animation purposes.
Share
Only override the onDraw() method of the views you want to draw by yourself. Otherwise you have to paint them yourself.