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..
mudra
Once Poster
Once Poster
 
Posts: 1
Joined: Sat Oct 10, 2009 5:54 am

Top

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">
  2.  
  3. <translate android:fromXDelta="50%p" android:toXDelta="0" android:duration="2500"/>
  4.  
  5. <alpha android:fromAlpha="1.0" android:toAlpha="0.0" android:duration="2500"/>
  6.  
  7. </set>
Parsed in 0.001 seconds, using GeSHi 1.0.8.4


I found some helpful stuff here: http://developerlife.com/tutorials/?p=343
SlumberMachine
Developer
Developer
 
Posts: 39
Joined: Tue Feb 24, 2009 9:00 pm

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: Google Feedfetcher and 3 guests