0

I want to create animation like this to ImageViewenter image description here

Pallavi Tapkir
  • 781
  • 7
  • 28
  • and what have you done so far? – pskink Jul 13 '17 at 04:55
  • Use [AnimatorSet](https://developer.android.com/reference/android/animation/AnimatorSet.html) – ADM Jul 13 '17 at 05:03
  • 1
    https://stackoverflow.com/a/29488519/3514144 – Ajay Pandya Jul 13 '17 at 05:15
  • @Pallavi Tapkir do u have gif file animation photoframes ?photoframes code: https://www.bignerdranch.com/blog/frame-animations-in-android/ If it z gif: https://stackoverflow.com/questions/31082330/show-gif-file-with-glide-image-loading-and-caching-library – Narender Reddy Jul 13 '17 at 06:43

1 Answers1

0

You can use that GIF image and load that image into Imageview. You can use this library for loading koral--/android-gif-drawable

and change your ImageView into

<pl.droidsonroids.gif.GifImageView
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:src="@drawable/src_anim"
    android:background="@drawable/bg_anim"
    />
Vladyslav Matviienko
  • 10,610
  • 4
  • 33
  • 52
Ameer
  • 2,709
  • 1
  • 28
  • 44
  • I solved problem using this GlideDrawableImageViewTarget imageViewTarget = new GlideDrawableImageViewTarget(imageView); Glide.with(this).load(R.drawable.up_arrow).into(imageViewTarget); – Pallavi Tapkir Jul 13 '17 at 05:37
  • There are no.of libraries available for GIF – Ameer Jul 13 '17 at 06:21