Managing Application Resources

What Are Resources? 97

Storing Application Resources 97 Understanding the Resource Directory Hierarchy 97 Resource Value Types 99 Storing Different Resource Value Types 101 Accessing Resources Programmatically 103 Setting Simple Resource Values Using Eclipse 104 Working with Resources 107

Working with String Resources 107

Using String Resources as Format Strings 108

Working with String Arrays 109

Working with Boolean Resources 110

Working with Integer Resources 111

Working with Colors 111

Working with Dimensions 112

Working with Simple Drawables 113

Working with Images 114

Working with Animation 116

Working with Menus 119 Working with XML Files 120 Working with Raw Files 121 References to Resources 122 Working with Layouts 123 Working with Styles 127 Working with Themes 131 Referencing System Resources 131 Summary 132

Was this article helpful?

0 0
Easy Software Profits

Easy Software Profits

Here's How Anyone Can Start, Build and Run their Own Successful Software Empire Without Knowing the First Thing About Programming, Scripting Or Any 'Coder' Stuff. There is no doubt about it software sells. Software has a high percieved value and it solves problems for people.  A claim that can't always be made for PDF books, Video products and the like.

Get My Free Ebook

Post a comment