Android Studio plugin modifying the XML layout editor

Answered

I want to implement an Android Studio plugin with the following features, can anyone give me some pointers about how to achieve it? (If it's not feasible to implement with the open APIs, what would be some alternative ways to achieve similar goals?)

In current Android Studio (e.g., Android Studio 4.0 which I took the screenshot with), the "Pick a Resource" window will pop up if I click on the album icon in the "src" field of the "Common Attributes" panel. Then I can look up icons by searching keywords in the "Pick a Resource" window.

My goal is:

1) to expand the search results. I hope to integrate online search results from websites like https://thenounproject.com

2) to automatically fill the contentDescription attributes (aka image alt-text) when selecting an icon from the list.

Thanks in advance for any help!

 

 

3 comments
Comment actions Permalink

It seems the current API does not allow extending this dialog, will double-check.

0
Comment actions Permalink

Confirmed, there is currently no such API. Please file RFE with Android Studio.

0
Comment actions Permalink

Thanks for checking this for me!

0

Please sign in to leave a comment.