You know how in eclipse you can edit the XML file using the built-in eclipse GUI for adding GUI components? I’m looking to create my own component that I can add so I can drag and drop like the rest of the components. I’ve looked for a tutorial to no avail and couldn’t find anything. Does anyone know how to do this?
Mind you I am using Java.
You can create custom layout or component by creating a class that extends ViewGroup or the component (Ex: Button) that you want to create.
This will display your custom component under “Custom and Library Views” tab in graphical layout view of the xml.