Skip to main content

All Questions

4 votes
0 answers
484 views

How to convert animated GIF to AVD

I have a GIF file which actually shows 5 png images in infinite loop to show animation. I want to create an Android vector graphics of this GIF. So can we use bitmap images in AVD ? Can some one tell ...
Pavan Tiwari's user avatar
  • 3,157
0 votes
1 answer
449 views

Programmatically start Animatable (AnimatedVectorDrawable) at a particular offset

Is there a way to programmatically start an AnimatedVectorDrawable at a particular offset? Context: I'm developing for API 19 and up, so I'm using Android Jetpack. I have a custom View with an ...
Codifier's user avatar
  • 354
1 vote
1 answer
555 views

How to animate drawable through object animator

I am trying to scale a vector drawable with the help of ObjectAnimator based on state of button is selected or not. I a trying to do this as, <selector xmlns:android="http://schemas.android.com/...
Shadow's user avatar
  • 25
3 votes
0 answers
832 views

Android: Start AnimatedVectorDrawable animation mid way

Background: I am looking to create a countdown timer similar to the native Clock app's Timer. I am very new to Android animations so I have been evaluating various solutions. I was looking to go with ...
Smalls's user avatar
  • 362
0 votes
1 answer
537 views

Vector animation in RecyclerView

Preface I want to implement a download animation in RecyclerView. In onBindViewHolder and onViewRecycled I subscribe to and unsubscribe from presenter which retrieves the percentage of already ...
Mike's user avatar
  • 2,675
3 votes
1 answer
946 views

Android objectanimator not animating

I have designed today two drawable's of the classic arrow and hamburger icon to recreate and understand objectAnimator in android. The problem occurs when no animation is played but the drawable is ...
Marian Pavel's user avatar
  • 2,826
2 votes
1 answer
4k views

Fade out and translate VectorDrawable with ObjectAnimator

I am trying to get an AnimatedVectorDrawable to fade out and translate at the same time. I made an ObjectAnimator resource: <set xmlns:android="http://schemas.android.com/apk/res/android"> <...
skwear's user avatar
  • 563
1 vote
1 answer
2k views

How to create ObjectAnimator with valueType - pathType programmatically?

I would like to create a ObjectAnimator programmatically that represents this xml - <objectAnimator android:duration="@integer/eye_anim_duration" android:interpolator="@android:...
Mikelis Kaneps's user avatar