Reputation: 19956
I want to create one new xml file in the drawable_hdpi folder, but the new file doesn't appears in the drawable_hdpi folder, it appears in the layout folder. Can you tell me why?
In SDK 1.6 it is OK, but in SDK 2.2 it is not.
edit:for example in the app res/drawable_hdpi choice the drawable_hdpi folder,then right-hand button create new android xml as foo.xml,but the xml is created at the layout_hdpi folder not at the rawable_hdpi folder
Upvotes: 0
Views: 218
Reputation: 4828
My guess is that you are trying to create a new "Android XML" file in Eclipse by right-clicking on your drawable_hdpi folder. I am able to duplicate the problem you are having. The dialog that pops up when you try to do this can dictate where the file gets created based on various setting within.
I tried to embed and image here to show you but SO wouldn't let me. Sorry.
The radio buttons will change the folder list beneath the "Available Qualifiers" list will change depending on which button you select. For whatever reason, there is no radio button for drawable. If you try to edit the folder by hand, your radio button selection disappears and the finish button disables, so you can't even force it to do what you want.
Really you should just copy an xml file similar to what you want to your drawable_hdpi folder manually outside of eclipse. Afterwards, just do a refresh on your res folder in Eclipse and the file will show up there. Then you should be able to edit it within Eclipse.
Hope that helps, Craig
Upvotes: 2