This is the code for the book http://www.peachpit.com/androiduifundamentals.
The code for each chapter is in the corresponding folder. Chapters 2 through 9 cover the creation of a simple time tracking application. Some chapters contain addition sample code.
Basic hello world
First step in the time tracker, covers common view attributes, list views, and StrictMode.
Notifications, menus, event handling, multiple screen support.
Basic form views, map and web views.
Abstracing layouts using , and ViewStubs. Creating themes and basics of fragments.
The action bar, creating navigation using tabs, the ViewPager class, and data binding.
App widgets.
Listening to touch events and detecting gestures.
Animation: view animations, property animations, and ViewProperAnimator.
Creating custom views, including custom XML attributes.
Graphics rendering using Canvas, Renderscript and OpenGL.
Localization and Accessibility