Skip to content Skip to sidebar Skip to footer

Two Questions About Custom App Ui's And Alphaanimation

So I'm really picking up a lot of knowledge about customizations and animations. Right now I'm skinning my app with custom UI elements, but I'm not sure if I'm doing this correctly

Solution 1:

1) Sound quite reasonable and pretty much the standard way to do it.

2) You are very close:

AlphaAnimationalpha=newAlphaAnimation (1f, 0.5f); // from 100% visible to 50%
alpha.setDuration (1000); // 1 second, or whatever you want// all your code here

myView.startAnimation(alpha); // execute it after a click or the event you want

Post a Comment for "Two Questions About Custom App Ui's And Alphaanimation"