- In the Project view below the res, locate the folder with the resources of the desired type
or create a new folder.
Tip
Find the list of resource types in the Android documentation
. - Right-click the relevant folder and on the context menu, choose .
- in the dialog box that opens, type the name of the new definition file with the extension /xml.
Tip
Follow the Android documentation
naming guidelines. - To enable coding assistance, in the root element, specify the http://schemas.android.com/apk/res/android schema as the value of the xmlns:android field.
- Populate the resource definition file as necessary.


in the left gutter area.