Permalink
Browse files

[Bug 4419] Use correct animation for button press.

  • Loading branch information...
1 parent ca03a06 commit 05b447be42cab92f188364bcdd8d27066150cfe6 @jpobst jpobst committed Apr 18, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 ApiDemo/App/Animation.cs
View
@@ -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);

0 comments on commit 05b447b

Please sign in to comment.