Hi Romain,

I'm having the same problem, and I don't really understand what you're
talking about with "layer on" and "layer off".

Could you explain that a bit more, so I can get a better hold on this
whole problem?

Thanks,

Brion Emde


On Apr 26, 4:51 pm, Romain Guy <[email protected]> wrote:
> To get antialiased edges with HW acceleration on you should add an empty 1px
> border in your bitmap (layer off) or 1 px padding in your ImageView (layer
> on).
>
> On Tue, Apr 26, 2011 at 4:17 PM, Christopher Lester 
> <[email protected]>wrote:
>
>
>
>
>
>
>
>
>
> > Hey folks
>
> > I am building an application and the following 3 scenarios occur.
>
> > 1. When I have hardware acceleration in the manifest turned on,
> > hardware layers enabled in my layout.xml file and a rotation applied
> > to an ImageView I get jaggies around the edges of the ImageView that
> > is holding the Bitmap.
>
> > 2. When I have hardware acceleration in the manifest turned on,
> > hardware layers dis-abled in my layout.xml file and a rotation applied
> > to an ImageView I get black borders around the edges of the ImageView
> > that is holding the Bitmap.
>
> > 3. When I have hardware acceleration turned off, hardware layers dis-
> > abled, and the ImageViews rotated I get some kind of jaggedness added
> > to the ImageView images themselves. Essentially they are not smooth
> > and crisp (ANTI_ALIAS).
>
> > I am trying to work out a scenario where I can have hardware
> > acceleration = on, no black edges around the ImageViews bitmaps, and
> > anti_aliased rotated imageviews. Clean and Crisp rotations.
>
> > Thanks for any help
>
> > Chris
>
> > --
> > 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
>
> --
> Romain Guy
> Android framework engineer
> [email protected]
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support.  All such questions should be posted on public
> forums, where I and others can see and answer them

-- 
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