[android-developers] Animation is too slow with xhdpi device.

2012-04-05 Thread btai...@gmail.com
I've faced problem that animation of view is too slow and with Galaxy Note which has 1280x800 and 320dpi display. Actually, I use ScaleAnimation and TransAnimation with RelativeLayout in code and I'm pretty sure that code is not incorrect. Size of Image animated is 67.5 kb. Device with 800x480

Re: [android-developers] Animation is too slow with xhdpi device.

2012-04-05 Thread Mark Murphy
On Thu, Apr 5, 2012 at 6:42 AM, btai...@gmail.com btai...@gmail.com wrote: I've faced problem that animation of view is too slow and with Galaxy Note which has 1280x800 and 320dpi display. Actually, I use ScaleAnimation and TransAnimation with RelativeLayout in code and  I'm pretty sure that

Re: [android-developers] Animation is too slow with xhdpi device.

2012-04-05 Thread Dianne Hackborn
Have you made sure hardware accelerated drawing is enabled? On Thu, Apr 5, 2012 at 3:42 AM, btai...@gmail.com btai...@gmail.com wrote: I've faced problem that animation of view is too slow and with Galaxy Note which has 1280x800 and 320dpi display. Actually, I use ScaleAnimation and

Re: [android-developers] Animation is too slow with xhdpi device.

2012-04-05 Thread Mark Murphy
On Thu, Apr 5, 2012 at 4:57 PM, Dianne Hackborn hack...@android.com wrote: Have you made sure hardware accelerated drawing is enabled? AFAIK, the Galaxy Note runs 2.3.x at the moment, not 3.0. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy

Re: [android-developers] Animation is too slow with xhdpi device.

2012-04-05 Thread Dianne Hackborn
Ah, I missed that this is the note. If this is a Tegra 3 on a 1280x800 screen then there is very little rendering complexity you can have to keep full-screen drawing going at 60fps. For example I think getting into a situation where a large bitmap is scaling will probably kill you. Keep in