Android Studio - How can I add my own categories with my own widgets to the toolbox on the left side?

Hello,

how can I add my own categories with my own widgets to the toolbox on the left side?

Thanks

Rouven

4 comments
Comment actions Permalink

Hi.

Is this what you want to achieve?
ToolWindowManager.getInstance(myProject).registerToolWindow("YOUR_TOOL_WINDOW_ID", false, ToolWindowAnchor.LEFT, true);

Also possible to declare it in manifest file.

0
Comment actions Permalink

As far as I can see this is currently not possible. The contents of the palette is loaded from a single .xml file, and there is no API for other plugins to contribute components into the palette.

0
Comment actions Permalink

I already thougt that the information about the widgets is stored in an xml file.

So futhermore I looked into the plugin directory but I only found several jars, if you can tell me in which I find this xml I can try to modify the plugin for my own purposes.

Last but not least im interested in getting informed about changes in the android plugin for android studio. Is there some kind of rss feed that notifies me?

0
Comment actions Permalink

Look for views-meta-model.xml, most likely in android/lib/android.jar

The development Git repository for Android Studio is here: https://android.googlesource.com/platform/tools/adt/idea/
I don't think there's any official RSS feed for that repo.

0

Please sign in to leave a comment.