添加res目录不会出现在android studio中

时间:2016-06-17 23:48:53

标签: android android-studio android-resources

我在android studio中为我的android项目添加了res directories。我使用IDE添加它们以及使用mkdir res_dir手动添加它们。但是,它们不会显示在项目树上。我想在树上查看它们,所以我确定它们都在项目中,而不是ls每次检查。我尝试重新启动我的IDE,但这个问题仍然存在

enter image description here

enter image description here

我添加了res directories:drawable-hdpi,drawable-ldpi,drawable-mdpi,drawable-xdpi但我在树上看不到它们。我怎样才能出现这些?

1 个答案:

答案 0 :(得分:2)

将一些文件添加到文件夹中,这将显示drawable中的文件夹。