Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android custom Drawable vs custom View

Tags:

android

I wanted to know what's the difference between creating a custom Drawable like in the Shelves project: http://code.google.com/p/shelves/ to creating a custom View?

like image 338
Raz Avatar asked Sep 16 '12 07:09

Raz


Video Answer


1 Answers

Drawble only response for the draw operations, while view response for the draw and user interface like touch events and turning off screen and more.

View can contain many Drawbles.

like image 149
Ilya Gazman Avatar answered Oct 23 '22 11:10

Ilya Gazman