Skip to content

Commit

Permalink
[Bug 4419] Use correct animation for button press.
Browse files Browse the repository at this point in the history
  • Loading branch information
jpobst committed Apr 18, 2012
1 parent ca03a06 commit 05b447b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ApiDemo/App/Animation.cs
Expand Up @@ -28,13 +28,13 @@ protected override void OnCreate (Bundle bundle)
button.Click += OnZoomClicked;
}

void OnZoomClicked (object sender, EventArgs e)
void OnFadeClicked (object sender, EventArgs e)
{
StartActivity (new Intent (this, typeof (Controls1)));
OverridePendingTransition(Resource.Animation.fade, Resource.Animation.hold);
}

void OnFadeClicked (object sender, EventArgs e)
void OnZoomClicked (object sender, EventArgs e)
{
StartActivity (new Intent (this, typeof (Controls1)));
OverridePendingTransition(Resource.Animation.zoom_enter, Resource.Animation.zoom_exit);
Expand Down

0 comments on commit 05b447b

Please sign in to comment.