Anders Ericsson

Creating custom Android views – Part 4: Measuring and how to force a view to be square

Dynamics Animations using Custom Views – Sources

I recently held a presentation at Droidcon London about “Dynamic Animation using Custom Views” and got quite a lot of question about the source for the Dynamics class and the other sample applications I showed.  You can find the sources here: https://github.com/andersericsson/droidconSources A small disclaimer might be appropriate as well: The above sample views are small, quickly implemented views and are not really fully implemented. For example, none of the views handle padding correctly (except for the view tutorial views)….

Creating custom Android views – Part 3: Animating your custom views, smoothly

Creating custom Android views – Part 2: How padding works and how to draw your own content

Creating custom Android views – Part 1: Extending standard views and adding new xml attributes