Multiple Canvas

gjoisa

Active Member
Licensed User
Longtime User
Is it possible to add multiple canvases in a single Activity ? If yes how to do one canvas's visibility to false when using another ?
 

klaus

Expert
Licensed User
Longtime User
What do you want to do ?
Do you want to attached the different canvases to a same bitmap or a same view, and if yes why ?
You can add different canvases to a same activity attached to different views.
I'm currently testing a program with 2 Imageviews, each with it's own Canvas, to simulate different layers, playing with transparent background and the visible parameter.

Best regards.
 
Upvote 0

gjoisa

Active Member
Licensed User
Longtime User
I want 5 canvases for drawing strings with different font colors . In to 2 canvases I have to draw some lines and within that I have to draw strings . For that how should I use canvases ?
 
Upvote 0
Top