Android Studio: Drawable Folder: How to put Images for Multiple dpi?

后端 未结 11 1822
旧巷少年郎
旧巷少年郎 2020-11-27 11:21

Hi as per android documentation the drawable folder needs to have multiple sub-directories for images of different dpis. However in Android Studio creating any sub directory

11条回答
  •  无人及你
    2020-11-27 11:59

    The standard procedures are:

    1. Choose Project > app > scr > main
    2. Right click "res", choose "New" and choose "Android resource directory"
    3. In the opened dialog, at Resource Type choose "drawable"
    4. In the list Available qualifier choose Density, then click the right arrow at the middle.
    5. Choose the Density that you like then press OK

提交回复
热议问题