java - Animations not smooth on new devices -


i'm trying write simple animation of setting 1 imageview alpha 0 1 , other 1 0:

alphaanimation animationoutside = new alphaanimation(1,0); alphaanimation animationinside = new alphaanimation(0,1);  animationoutside.setduration(1000); animationinside.setduration(1000);  animationinside.setfillafter(true); animationoutside.setfillafter(true);  oldcharacter.startanimation(animationoutside); newcharacter.startanimation(animationinside); 

this looks great on samsung galaxy 1 reason on nexus 5 animation looks bad , looks it's missing lot of frames.

i tried add android:hardwareaccelerated="true"

any suggestions?

thanks!

i believe because of difference of manufacturer. animation (you can include audio , video) hardware dependent. normally, animation may not work "properly" on devices.


Comments

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -

Nuget pack csproj using nuspec -