0
votes

I'm trying to use the following documented API:

https://developers.google.com/glass/develop/gdk/reference/com/google/android/glass/app/Card#addImage%28android.net.Uri%29

in a similar way to this post:

NullPointerException when calling Card.addImage(Uri)

but I'd like to use a an animated gif as the background for an immersion card instead.

Possible?

1

1 Answers

1
votes

The layouts built by the Card class use Android's ImageView to represent their images, and the ImageView widget does not support animated GIFs. You would need to construct your own layout and manage the animation manually.