Android Programming and Technical Programming Technical

How to draw directly on canvas of android UI?

Options
1) Implement your own custom View by extenting View class, and then implement onDraw method in it.
2) Take any UI control like ImageView, and draw image using canvas.
3) it is not possible to directly touch Canvas.
4) both option 1 and 2 are right

Read Solution (Total 0)

Android Other Question

Tween animation is part of which package?

Options
1) it is part android.graphics.drawable.package
2) it is part of view package
3)it is part of 3D graphics library (open GLES)
4)it is part of kernal
What is the tool to convert images to 9 patch image? where it will be located?

Options
1) draw9patch is the tool name, it is located in android-sdk/platform-tools.
2) draw9patch is the tool name, it is located in android-sdk/tools
3)9patch is the tool name, it is located in android-sdk/platform-tools
4)9patch is the tool name, it is located in android-sdk/tools