I've tried lowering the first attribute to different values and nothing.
I also tried the setAlpha and nothing.. maybe something in the xml ?
I'm not sure if something is impeding from the alpha to work..in some other part of the code..

On Jul 24, 2010, at 6:34 PM, Joseph Earl wrote:

You are using innerPaint.setARGB(255, 75, 75, 75); //gray

Since you are setting the Alpha to 255 you will have an opaque image.
If you want some transparency change that value to somewhere between 0
and 255.

On Jul 24, 5:41 pm, Pedro Teixeira <pedroteixeir...@gmail.com> wrote:
Hi,

I have a class to make a transparent panel to overlay in any view of
my application which I found the tutorial on the internet.  The thing
is.. it's not painting with transparency .. just gray... does it have
to do with this element? How can I change this values to make it be
transparent?

        innerPaint = new Paint();
                innerPaint.setARGB(255, 75, 75, 75); //gray
                innerPaint.setAntiAlias(true);

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

Pedro Teixeira

www.pedroteixeira.org

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

Reply via email to