how to move two or multiple imageviews together? - android

i want to move two or multiple imageviews on single touch
Detailed Explanation
i have two or more imageview in a linearlayout now i want to move imageviews which are inside linearlayout .
and when one imageview touches another imageview so both goes underlays each other
i want mirrior effect like this app has see this app to get what i want

Try these
A simple yet flexible library
https://github.com/clkasd/CarouselViewProject
https://github.com/sayyam/carouselview

Related

Android - What's the best way to create a Slideshow?

What is the best way to create a slideshow in Android?
Basically, what I need is to slide through a collection of LinearLayout or RelativeLayout objects, that contains inside them different views, ex: an ImageView and a TextView overlayed on that image.
On the bottom of the screen, should be some bulled points that will keep track of the currently element in the gallery.
To give an idea take a look at this jQuery implementation: http://slidesjs.com/
(I don't need the "left"/"right" controls, and the bulled points also dont need to be clickable, as in example)
Also, the slideshow should be in a cycle.
Maybe not the best, but I used a Gallery.

Dynamically changes the position of ImageView

I have 3 ImageViews in LinearLayout(Horizontal Orientation). I want to show them according to move touches to the left or right. First of all, I have to create 3 imageviews inside of the LinearLayout and only the one of the 3 imageviews can be visible. In TouchEvent I want to change position of the visible one,then I want to show smoothly the other one like books in iBooks. How can I do that?
Best Regards,
You can refer below example. This will be helpful to you.
here

Flipping textviews issue

suppose i have 3 textviews set in horizontal LinearLayout which is in one screen.I know i can flip textviews with help of ViewFlipper.But is there anyway to flip portion means if i will flip then one textview will be gone and two textviews will remain.
Just see this link.
See this for ViewFlipper animation
http://android-pro.blogspot.com/2010/09/using-view-flipper-in-android.html
or you can use HorozontalPager also
link https://github.com/ysamlan/horizontalpager

Android Animation of TextViews

I basically have 5 text views that fill in one on top of the other. Rather then just all showing up like they do now, I want them to all come in with some animation, one after the other. Anyone have a link to a tutorial on how to animate TextView objects? only one I saw in the android docs involved using images as well as needing an image in the background.
Animating a TextView is basically like animating any other view. If you want it to show up one after one, you can implement an AnimationListener and start the corresponding TextView when the previous has finished.

view at same position in absolute layout in android

I have one absolute layout which contains many ImageViews. I have implemented Drog and Drop functions for all imageview. Now what happen when suppose i drag one imageview over another imageview then first view goes back side because it have been added first compaire to another one . I need that moving view always visible on top.
So can i solve this problem ?
Thanks in advance.
Probably the easiest way to avoid this is to call .bringToFront() on your ImageView when you begin your dragging code.
http://developer.android.com/reference/android/view/View.html#bringToFront%28%29

Categories

Resources