[android-developers] Re: Moving Image Over Another Image

2010-01-13 Thread prakhy
Thanks for help. Regards Prakhy On Jan 13, 9:47 am, k_day wrote: > Here is a custom layout written by Romain Guy that displays a grid of > images.  You may be able to adapt it for your purposes: > > http://code.google.com/p/miffed/source/browse/GUI/src/uk/ac/ic/doc/ge... > > Other than that, sta

[android-developers] Re: Moving Image Over Another Image

2010-01-12 Thread prakhy
Thanks for help. Regards Prakhy On Jan 13, 9:47 am, k_day wrote: > Here is a custom layout written by Romain Guy that displays a grid of > images.  You may be able to adapt it for your purposes: > > http://code.google.com/p/miffed/source/browse/GUI/src/uk/ac/ic/doc/ge... > > Other than that, sta

[android-developers] Re: Moving Image Over Another Image

2010-01-12 Thread prakhy
Thanks for help. Regards Prakhy On Jan 13, 9:47 am, k_day wrote: > Here is a custom layout written by Romain Guy that displays a grid of > images.  You may be able to adapt it for your purposes: > > http://code.google.com/p/miffed/source/browse/GUI/src/uk/ac/ic/doc/ge... > > Other than that, sta

[android-developers] Re: Moving Image Over Another Image

2010-01-12 Thread k_day
Here is a custom layout written by Romain Guy that displays a grid of images. You may be able to adapt it for your purposes: http://code.google.com/p/miffed/source/browse/GUI/src/uk/ac/ic/doc/gea05/miffed/wigets/GridLayout.java Other than that, start writing some code. Talking about what you wa

[android-developers] Re: Moving Image Over Another Image

2010-01-12 Thread prakhy
my actual aim is too build a chess UI using android platform. So i need to split the images into coordinates and get touch events over the same. And also i need highlight the possible combinations for touched pawn. So i need to get something more than the coordinates in order to take further moves.

[android-developers] Re: Moving Image Over Another Image

2010-01-12 Thread k_day
You won't get separate touch events for the same image, but you can however get the coordinates of your touch event relative to its parent, or itself, depending on want you want. So given the coordinates of the touch, you can easily determine where on the image you may be touching. It is possible

[android-developers] Re: Moving Image Over Another Image

2010-01-11 Thread prakhy
Thanks both of you. I need to provide touch events for different parts of the image. The touch areas might also need to scale automaticallybased on the screen dimensions and screen resolution. Is it possible to touch events dynamically as coordinates changes(in different devices)..? Prakhy -- You

[android-developers] Re: Moving Image Over Another Image

2010-01-11 Thread schwiz
You need to use a framelayout or make your own view class On Jan 11, 1:03 pm, k_day wrote: > You will probably want to write your own layout.  See here for more > information: > > http://developer.android.com/guide/topics/ui/custom-components.html > > The SDK has a pretty easy to use animation fr

[android-developers] Re: Moving Image Over Another Image

2010-01-11 Thread k_day
You will probably want to write your own layout. See here for more information: http://developer.android.com/guide/topics/ui/custom-components.html The SDK has a pretty easy to use animation framework. There are some good examples in this document: http://developer.android.com/guide/topics/gra