Android drawable-hdpi-night folder

2020-08-16 02:54发布

问题:

Please help, I am playing with small example of day-night mode in Android. So far so good. I have 2 images (of multiple size) that I am displaying depending on the phone mode (day/night), unfortunately I can't get it how, to name the folders that contain the images (in different resolution) in order to have a separate distinction. For the proper moment, the picture below contains the last try:

and the error:

Also I would like to have this structure into separate landscape/portrait folders us well. Thanks in advance.

回答1:

It should be /res/drawable-night-**