Android Application idea how to achieve this -


i want create android app.which unique. want app connect kind of energy bad or good..my main motive connect app ghosts , spirits..so can become interface between humans , spirits...i mean if app installed in person's phone app should connected person's soul....
have no idea how achieve same animation effect see in android foxnews application. after displaying splash screen, view of main activity smoothly displayed. have same animation between splash screen , dashboard activity.

this post features how change android’s default animation when switching between activities. before reading rest, please know code changes standard animation found @ api demo comes android sdk. since there’s lack of proper documentation regarding subject , it’s difficult find place explaining it, here post helps in aiding these 2 problems. so, code change animation between 2 activities simple: call overridependingtransition() current activity, after starting new intent. method available android version 2.0 (api level 5), , takes 2 parameters, used define enter , exit animations of current activity.

//calls new activity   startactivity(new intent(this, newactivity.class));    //set transition -> method available android 2.0 , beyond   overridependingtransition(r.anim.push_left_in,r.anim.push_up_out);    

these 2 parameters resource ids animations defined xml files (one each animation). these files have placed inside app’s res/anim folder. examples of these files can found @ android api demo, inside anim folder. let’s take @ 1 of these files (push_left_in.xml):

<?xml version="1.0" encoding="utf-8"?>   <set xmlns:android="http://schemas.android.com/apk/res/android">     <translate android:fromxdelta="100%p" android:toxdelta="0" android:duration="300"/>     <alpha android:fromalpha="0.0" android:toalpha="1.0" android:duration="300" />   </set>  

Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -