Android Tutorial For Beginer - Qualify Resources

In order to deal with the diverse set of screen sizes, screen resolutions, device languages, versions of Android, and other differentiating aspects between devices Android allows for a powerful resource system. This system allows us to define specific resources for specific purposes based on qualifying that resource with a configuration qualifier. These qualifiers can mark resources to be used for specific screen sizes, screen densities or even have different resources used for different orientations on the same device. In addition resource qualifiers allow us to easily add multi-language support to our application. By using specific qualifiers we can have the Android system use a different set of string constants depending on the locale definition of the device. Android has progressed significantly through the years from version to version, and in the case of a need for different UI or other components for a specific version of Android we can utilize qualifiers to declare specific components for different versions of the Android operating system identified in runtime on the device. As well we can define qualifiers for things like UI modes or mobile country codes for the device to have the Android system use different assets for those cases.
0 Komentar untuk "Android Tutorial For Beginer - Qualify Resources"
Back To Top