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 <[email protected]> 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to