Issue
I know I can add resources for some Android versions + for night mode.
But what would be the name of the folder for night mode resources of API 21+ ?
drawable-night-v21?
Solution
That should be correct. Based on the legendary "Table 2":
nightis the qualifier for night modev21is the qualifier for API Level 21+ devicesnightappears higher in Table 2 than doesv21, sonightappears first in the directory name
So, -night-v21 would be the suffix for any resource directory in which you will have night mode resources to be used on API Level 21+ devices.
Answered By - CommonsWare
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.