Android - Alter animation in resource file

view story

http://stackoverflow.com – I have a transition from one activity to another that I am using in overridePendingTransition. Unfortunately all overridePendingTransition uses is the resource id of the file, so I am having trouble about how to edit this file so my transitions are proper. Basically what I need to do is make changes to the R.anim.flip_in_scale_in so that I can change the value of the transitions fromX/toX so that it is set based on the user's screen size. overridePendingTransition(R.anim.flip_in_scale_in, R.anim.stationary_item); How do I update the R.anim.flip_in_scale_in file before use in the override (HowTos)