0

当我在 android 包中打开它时,布局显示错误和图像也不会显示:

图片说明

我不知道发生了什么

4

1 回答 1

0

You have created drawable folder in wrong location you can't create drawable-ldpi or drawable-mdpi etc folders in drawable folder but the they structure like this.

image

this is how the different drawable folder were created in files system and android studio show this something like this:

image for android studio

to create a drawable in specific folder append with -hdpi, -ldpi, -mdpi, -xhdpi, -xxhdpi, -xxxhdpi same for mipmap and values folders.

image for creating drawable folder hope this will help you.

于 2017-10-17T12:26:17.937 回答