android - How to create animation dynamically and add it to overridePendingTransition -


i want know how add animations created dynamically in java overridependingtransition.

i created custom animation in java.

animation anim = new scaleanimation(....); 

now want add animation overridependingtransition.

overridependingtransition(anim, anim); 

but error. says need have int. know can use r.anim.scaleanim created xml too. want create animation dynamically in java pivotx , pivoty values changed in code.

please me. thank you!


Comments

Popular posts from this blog

java - Incorrect order of records in M-M relationship in hibernate -

command line - Use qwinsta in PowerShell ISE -

php - I want to create a website for polls/survey like this http://www.poll-maker.com/ -