setContentView does not accumulate views, but rather replaces the current
content view with a new one - as you already found out.
If you're going to do this with a custom view class, then put it into your
layout file:
/>
-- Kostya
2011/1/24 nation-x
> I have a game on the market called Memor
I have a game on the market called Memory Tutor where I am doing
something similar except I am using setImageDrawable() and
setBackgroundDrawable(). That way I can just change the
setImageDrawable to a transparent png when I want to show the image
and a white png when I want to hide it rather than
What is the reason for you not posting this? That took a lot of time to
write.
On Thu, Jan 20, 2011 at 1:07 PM, MartyParty wrote:
> I seem to be missing a key concept here. I want to be able to put a
> white square on top of an image. Seems simple right? I can't figure
> it out.
>
> Curren
3 matches
Mail list logo