title: Mono Android - OverridePendingTransition not working on device, works fine in emulator
body: <p>I've just started working with Mono for Android, and am having trouble getting a transition animation to work on my device. It works fine in the Android emulator.</p>
  
  <p>The device is a HTC Sensation, with all Animations enabled.</p>
  
  <p>My animation XML files are:</p>
  
  <p>slide_in_right.xml</p>
  
  <pre><code>&lt;set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:anim/accelerate_interpolator"&gt;
  &lt;translate android:fromXDelta="100%p" android:toXDelta="0%p" android:duration="200" android:startOffset="0" /&gt;
  &lt;/set&gt;
  </code></pre>
  
  <p>slide_out_left.xml</p>
  
  <pre><code>&lt;set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:anim/accelerate_interpolator"&gt;
  &lt;translate android:fromXDelta="0" android:toXDelta="-100%p" android:duration="200" /&gt;
  &lt;alpha android:fromAlpha="1.0" android:toAlpha="0.0" android:duration="200" android:startOffset="0" /&gt;
  &lt;/set&gt;
  </code></pre>
  
  <p>The animation is called here:</p>
  
  <pre><code>Intent intent = new Intent(this, typeof(Activity2));
  StartActivity(intent);
  OverridePendingTransition(Resource.Animation.slide_in_right, Resource.Animation.slide_out_left);
  </code></pre>
  
  <p>In the emulator, this results in the first view sliding out to the left while the new view slides in from the right.</p>
  
  <p>When I upload to the device and run it, there is no sliding, the first view fades out and the second just pops up in its place.</p>
  
  <p>I tried commenting out the OverridePendingTransition line to see if the fade transition was working and the sliding one not, but there was no difference. So it appears that the problem is with the OverridePendingTransition rather than any individual part of the animation.</p>
  
  <p>I don't have any other Android devices to test this on, so don't know if it's a particular HTC problem.</p>
  
  <p>All animation is turned on in the device settings; Facebook and other apps seem to have no problem with sliding between views.</p>
  
  <p>Any help would be much appreciated.</p>
  
  <p>Bryan.</p>