Animation not working on android 4.2.2 Jellybean -
here issue- animation not working on android 4.2.2 jelly bean (samsung galaxy duos-gt s-7582) working on other versions
source 1.xml 1
<?xml version="1.0" encoding="utf-8"?> <set xmlns:android="http://schemas.android.com/apk/res/android"> <translate xmlns:android="http://schemas.android.com/apk/res/android" android:fromxdelta="100%p" android:toxdelta="0" android:duration="500"/> </set>
and 1. xml 2
<?xml version="1.0" encoding="utf-8"?> <set xmlns:android="http://schemas.android.com/apk/res/android"> <translate xmlns:android="http://schemas.android.com/apk/res/android" android:fromxdelta="0" android:toxdelta="-100%p" android:duration="500"/> </set>
class file source-
intent i=new intent(getapplicationcontext(),day.class); startactivity(i); overridependingtransition(r.anim.animation,r.anim.animation2); finish();
gotta......
here answer device specific issue.
not 4.2.2
please change settings in device.
Comments
Post a Comment