User interfaces

3.1 Creating the Activity 60

Creating an Activity class 62 ■ Exploring Activity lifecycle 67

3.2 Working with views 70

Exploring common views 71 ■ Using a ListView 73 ■ Multitasking with Handler and Message 77 ■ Creating custom views 78 Understanding layout 80 ■ Handling focus 82 ■ Grasping events 83

3.3 Using resources 84

Supported resource types 85 ■ Referencing resources in Java 85 Defining views and layouts through XML resources 87 Externalizing values 89 ■ Providing animations 92

3.4 Understanding the AndroidManifest file 93

3.5 Summary 95

0 0

Post a comment