lgvalle / Material-Animations

Android Transition animations explanation with examples.
MIT License
13.52k stars 2.47k forks source link

Invalid slide direction #17

Closed liu-xinhui closed 9 years ago

liu-xinhui commented 9 years ago

when I run the app, stopped and logcat errors: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.lgvalle.material_animations/com.lgvalle.material_animations.MainActivity}: java.lang.IllegalArgumentException: Invalid slide direction

lgvalle commented 9 years ago

Invalid slide direction error is most likely caused because I'm using START as a direction and the API level of your device can't handle that. Try changing it to LEFT for example

ShkurtiA commented 9 years ago

I had the same problem, LEFT is the solution

lgvalle commented 9 years ago

Fixed here https://github.com/lgvalle/Material-Animations/pull/22