Hi, my question is probably really dumb but I don't see any example illustrating what I'm looking for.
I have an activity. I call setContentView(R.layout.main), where main.xml is the layout of my main activity.
I'd like to display a red rectangle (using a canvas ) in this main view. How can I do that ?
How to insert a View into another view ?
Thanks,





