How To Create A Custom View In Android
I want to learn, how to create custom view. I have gone through multiple tutorial and didn't get what i want(I mean concept). What i have learned I am sharing my concept,if i am wr
Solution 1:
1)You can use openGL. Otherwise you need a canvas. The canvas defines where you're drawing to, without it (or the openGL equivalent) we don't know where to draw. You might not want to draw directly to the screen, its common to draw to bitmaps in many cases.
2)Your question doesn't make a lot of sense. Why would you want to draw an ImageView, other than by letting it draw itself?
3)Easiest way to do that is to use a normal image view and call setRotation to rotate it as needed.
Post a Comment for "How To Create A Custom View In Android"