{"id":13541964,"url":"https://github.com/importre/android-selector-intellij-plugin","last_synced_at":"2025-10-28T18:37:24.247Z","repository":{"id":146554381,"uuid":"40874269","full_name":"importre/android-selector-intellij-plugin","owner":"importre","description":":art: Generate selectors for background drawable","archived":false,"fork":false,"pushed_at":"2015-11-12T15:32:17.000Z","size":274,"stargazers_count":296,"open_issues_count":0,"forks_count":23,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-05-11T12:01:40.931Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://plugins.jetbrains.com/plugin/7909","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/importre.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-08-17T07:37:25.000Z","updated_at":"2025-05-02T16:32:57.000Z","dependencies_parsed_at":"2023-04-12T15:52:06.607Z","dependency_job_id":null,"html_url":"https://github.com/importre/android-selector-intellij-plugin","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/importre/android-selector-intellij-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/importre%2Fandroid-selector-intellij-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/importre%2Fandroid-selector-intellij-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/importre%2Fandroid-selector-intellij-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/importre%2Fandroid-selector-intellij-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/importre","download_url":"https://codeload.github.com/importre/android-selector-intellij-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/importre%2Fandroid-selector-intellij-plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281493522,"owners_count":26511329,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-28T02:00:06.022Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T10:00:59.445Z","updated_at":"2025-10-28T18:37:24.210Z","avatar_url":"https://github.com/importre.png","language":"Java","funding_links":[],"categories":["Java","Android Studio","Intellij Plugin","开发环境/工具"],"sub_categories":["Plugins"],"readme":"[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-android--selector--intellij--plugin-green.svg?style=flat)](https://android-arsenal.com/details/1/2342)\n\n\n# android-selector-intellij-plugin ![icon](src/icons/icon@2x.png)\n:art: Generate selectors for background drawable.\n\nYou can use `colorButtonNormal` simply,  \nbut make easily touch feedback of normal `View`s as well as `Button`s with this plugin.\n\n\n## Installation\n\n1. open Android Studio(or IntelliJ)\n2. Preferences :arrow_right: Plugins :arrow_right: Browse Repositories\n3. Search \"Android Selector\"\n4. Click \"Install Plugin\" button\n\n\n## Usage\n- Set your colors(in `res/values/colors.xml`).\n```xml\n\u003ccolor name=\"colorPrimary\"\u003e#519FE5\u003c/color\u003e\n\u003ccolor name=\"colorPrimaryDark\"\u003e#388AC6\u003c/color\u003e\n\u003ccolor name=\"colorAccent\"\u003e#FFFFFF\u003c/color\u003e\n```\n\n- Select `New -\u003e Android Selector(or Ctrl/Cmd + N)` on your `res` directory.  \n\n![screenshot1](images/screenshot1.png)\n\n- Select filename, color, pressed and pressed-v21 respectively.\n\n![screenshot2](images/screenshot2.png)\n\n\u003e ripple drawable is generated in drawable-v21 directory.  \n\u003e normal drawable is generated in drawable directory.\n\n- Use the drawable.\n```xml\n    \u003candroid.support.v7.widget.AppCompatButton\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\"\n        android:layout_margin=\"16dp\"\n        android:background=\"@drawable/\u003cGENERATED_DRAWABLE\u003e\"\n        android:gravity=\"center\"\n        android:minWidth=\"100dp\"\n        android:text=\"pressed\" /\u003e\n```\n\n\n## Demo\n\n| Lollipop \u0026gt; | Lollipop \u0026lt;= |\n|---------------|----------------|\n| ![demo1][d1]  | ![demo2][d2]   |\n\n\n## Dependency\n- com.android.support:appcompat-v7:22.+\n\n\n## License\nMIT © [Jaewe Heo][importre]\n\n\n\n\n\n\n\n\n\n\n\n\n[importre]: http://import.re\n[d1]: images/demo1.png\n[d2]: images/demo2.png\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimportre%2Fandroid-selector-intellij-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimportre%2Fandroid-selector-intellij-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimportre%2Fandroid-selector-intellij-plugin/lists"}