What happens if the app runs on a device that is configured to use Japanese and, at the same time, the device happens to be one that expects input from a stylus and has a QVGA low-density screen in landscape orientation?


Assume that an app includes a default set of graphics and two other sets of graphics, each optimized for a different device setup:

res/drawable/

Contains default graphics. res/drawable-small-land-stylus/

Contains graphics optimized for use with a device that expects input from a stylus and has a QVGA low-

density screen in landscape orientation. res/drawable-ja/

Contains graphics optimized for use with Japanese.

What happens if the app runs on a device that is configured to use Japanese and, at the same time, the device happens to be one that expects input from a stylus and has a QVGA low-density screen in landscape orientation?
A . Android loads graphics from res/drawable/
B . Android loads graphics from res/drawable-small-land-stylus/
C . Android loads graphics from res/drawable-ja/

Answer: C

Explanation:

Reference: https://developer.android.com/guide/topics/resources/localization

Leave a Reply

Your email address will not be published.