Thursday, December 17, 2015

Selecting native animation view

When creating an Android native (non-OpenGL) animation on a view, there are few options:
  • SurfaceView
  • TextureView (Android 4.0+)
  • View
While in Android 2.x SurfaceView was the best way, things changed. I'll skip to the bottom line: to my opinion as of Android 6.0 the best was is to override View. The reason is that both SurfaceView & TextureView do not support Android's hardware acceleration.

Hardware accelerated View is over x4 faster than SurfaceView & TextureView.

3 comments:

Dhiya L said...

wow really superb you had posted one nice information through this. Definitely it will be useful for many people. So please keep update like this.

Java Training in Chennai

Priya said...

I simply couldn’t depart your site before suggesting that I really enjoyed the usual information an individual supply in your visitors? Is going to be again steadily to check out new posts.
GRE Coaching in Chennai

Philips Huges said...


Wonderful blog.. Thanks for sharing informative Post. Its very useful to me.

Installment loans
Payday loans
Title loans