Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

android providing different drawable resources for orientations

Tags:

android

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?

like image 749
james Avatar asked Jul 30 '11 17:07

james


1 Answers

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

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

like image 170
blejzz Avatar answered Oct 21 '22 22:10

blejzz