Graphics

Android offers a custom 2D graphics library for drawing and animating shapes and images.

The android.graphics.drawable andandroid.view.animation packages are where you'll find the common classes used for drawing and animating in two-dimensions.

This document offers an introduction to drawing graphics in your Android application. We'll discuss the basics of using Drawable objects to draw graphics, how to use a couple subclasses of the Drawable class, and how to create animations that either tween (move, stretch, rotate) a single graphic or animate a series of graphics (like a roll of film).

0 0

Post a comment