简体   繁体   中英

android providing different drawable resources for orientations

I would like to provide different drawable resources for different orientations. What is the proper folder name to provide a landscape and portrait version of a drawable? I looked through the android documentation and haven't seen anything like drawable-hdpi-land or drawable-hdpi-port . Are these the proper names?

it's drawable-land-hdpi etc, see the documentation for the full order:

http://developer.android.com/guide/topics/resources/index.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM