ImageView centering/ rotating issue

by oguen » Fri, 13 Feb 2009 02:06:21 GMT


Sponsored Links
 Hi ,

is it possible to set the center of an ImageView without using
paddings?

What I'm trying to do is, to place a part of an image outside the
screen and animate it so that parts of the image become visible while
other parts become unvisible.

Another problem is that when an image is bigger than the screen size
it gets cropped.
How can you disable cropping of the image?

And what kind of animation should be used? Should I go with
RotateAnimation or is better to rotate the canvas ?

Thanks
Oguen

--~--~---------~--~----~------------~-------~--~----~



ImageView centering/ rotating issue

by Scynasty » Fri, 13 Feb 2009 04:27:26 GMT


 if you set the size of the imageview larger than the screen size it
won't get cropped.



--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. poblem in reading file of android.provider.MediaStore.Images.Media.INTERNAL_CONTENT_URI

See my answer in the other thread in which you posted your question.





--~--~---------~--~----~------------~-------~--~----~

2. crash in com.android.camera after calling Images.Media.insertImage

This is a bug in the Gallery, which is fixed in Cupcake.
Also note that with the code  you posted, you will end up with a copy
of the image on the sd card, so you should either delete the original
once you're done, or you should not use insertImage(), but instead
insert an entry in to the database, or run the mediascanner so it will
pick up the file.








--~--~---------~--~----~------------~-------~--~----~

3. Emualator fails at Boot up

4. Developing an IMS client on Android : Request for Comments.

5. System log buffer size

6. adb push (Read only file system)

7. Is it possible to retrieve a list of resource ids