Reputation: 793
I created a folder under res/xml. When I create a new xml file, xml does not show under resource type like the other resources under res. How can I make it appear?
Edit: I am using eclipse
Upvotes: 0
Views: 143
Reputation: 1833
Try create your xml inside layout folder and use R.layout.YourLayoutName
and it should appear successfully
Upvotes: 1
Reputation: 4868
If you mean the Dialog in eclipse with the Resource Type dropdown then know it's a static predefined dropdown. It won't have all possibilities or any special setup you are trying to achieve. You can simply create an xml file in the folder without having to drag it there.
Upvotes: 1