October 2018
Intermediate to advanced
464 pages
15h 17m
English
Create a new project in Android Studio and call it AnimatedImage. In the Target Android Devices dialog, make sure to select API 28 (or greater) for the Phone & Tablet option. Select Empty Activity when prompted for the Activity Type. In the Configure Activity dialog (shown next), deselect the Backwards Compatibility option since this feature is not yet available in the support library:

We'll also need a GIF image. We turned to Giphy.com for a royalty-free image, which you can see in the downloadable project files.