Android Studio drawable folders

后端 未结 8 1820
野的像风
野的像风 2020-12-09 00:37

In Android Studio, I can\'t figure out where to put images to be used inside the app. The drawable folder isn\'t broken down into drawable-hdpi, drawable-ldpi, etc. I saw an

8条回答
  •  鱼传尺愫
    2020-12-09 01:16

    In order to create the drawable directory structure for different image densities, You need to:

    1. Right-click on the \res folder
    2. Select new > android resource directory
    3. In the New Resource Directory window, under Available qualifiers resource type section, select drawable.

    4. Add density and choose the appropriate size.

提交回复
热议问题