1

I need to make slide in and slide out animation for changing fragment. My animation slide out:

<?xml version="1.0" encoding="utf-8"?>
<objectAnimator
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:duration="1000"
    android:propertyName="y"
    android:valueFrom="0"
    android:valueTo="801"
    android:valueType="floatType" />

Fragment disappears before leaving screen on devices with higher resolution. Is it possibility to make animation for different screen sizes?

Thanks in advance.

marcu
  • 223
  • 4
  • 14
  • 1
    [This seemed to work for others](http://stackoverflow.com/a/4936159/3249477). Didn't work for me however, had to animate with `Animation` manually. – Simas Aug 28 '14 at 08:11
  • Just out of curiosity, did the YFraction method work for you? – Simas Aug 28 '14 at 10:46

0 Answers0