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

python - Mongodb How to add addtional information when aggregating? -

java - Spring Data JPA: Why findOne(id) executing delete query internally? -

ruby - Net::HTTP extremely slow responses for HTTPS requests -