Minh Tran
Minh Tran

Reputation: 793

Android get a res folder to show under resource type

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

Answers (2)

Ahmed Alaa El-Din
Ahmed Alaa El-Din

Reputation: 1833

Try create your xml inside layout folder and use R.layout.YourLayoutName and it should appear successfully

Upvotes: 1

JRomero
JRomero

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

Related Questions