screen with moving images

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

screen with moving images

Postby mudra » Sat Oct 10, 2009 6:09 am

Hi, I m very new to this android field.

I want screen with image to move from left to right and another image to move from top to bottom. I don’t know how to do that. Please help me. Thanks in advance..
Once Poster
Once Poster
Posts: 1
Joined: Sat Oct 10, 2009 5:54 am


Postby SlumberMachine » Tue Oct 13, 2009 1:39 am

I don't have a complete answer to your question, but I do know that you would need to create an animation xml file to describe the movement, for instance you would need an xml like this:

Syntax: [ Download ] [ Hide ]
Using xml Syntax Highlighting
  1. <set xmlns:android="http://schemas.blah.blah.change.this/apk/res/android">
  3. <translate android:fromXDelta="50%p" android:toXDelta="0" android:duration="2500"/>
  5. <alpha android:fromAlpha="1.0" android:toAlpha="0.0" android:duration="2500"/>
  7. </set>
Parsed in 0.001 seconds, using GeSHi

I found some helpful stuff here:
Posts: 39
Joined: Tue Feb 24, 2009 9:00 pm


Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: Google [Bot] and 3 guests