I have my own custom view and a few buttons/textviews in a single
relativetlayout as follows:
</relativelayout
<textview
/>
<customView
/>
</relativelayout
The custom view's width and height are set to wrap_content, and I draw
my image onto the canvas returned by onDraw. The problem is I see only
the image of my custom view and not the textview. I guess it's because
the canvas is the size of the whole screen, so even though the view is
set to wrap content, it actually takes up the whole screen, thus
blocking any other views. How can I make it so custom view takes only
as much space as my image?
Thanks

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to