2. Creating Your First Application

Over the course of this book, you’ll develop a simple time-tracking app. This app will eventually have all the features you would expect in a time-tracking application: a Start/Stop button, a running clock indicator, lists of previous times, editing capabilities, and a home-screen widget for fast time entry. But to begin, you’ll create a basic app with a few buttons, a text view, and a list of times. In this chapter you’ll learn the different layout containers and when to use them; explore XML options for getting the interface just right; learn the proper way to load data and display it as a list; and dive deep into the Activity class, a fundamental part of Android UI development.

Creating an App

To get started, ...

Get Android UI Fundamentals: Develop and Design now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.