{"id":26872371,"url":"https://github.com/paradisehell/ios-icon-to-android-drawable","last_synced_at":"2026-04-16T18:34:20.710Z","repository":{"id":80582136,"uuid":"92673172","full_name":"ParadiseHell/ios-icon-to-android-drawable","owner":"ParadiseHell","description":"a script to make ios icon to android drawable","archived":false,"fork":false,"pushed_at":"2017-06-03T12:40:17.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-05-26T23:40:20.194Z","etag":null,"topics":["android","drawable","icons","ios"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ParadiseHell.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-28T16:30:41.000Z","updated_at":"2017-05-30T07:19:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"c1206c3e-4541-499b-a3aa-17d2a50ed116","html_url":"https://github.com/ParadiseHell/ios-icon-to-android-drawable","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ParadiseHell/ios-icon-to-android-drawable","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ParadiseHell%2Fios-icon-to-android-drawable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ParadiseHell%2Fios-icon-to-android-drawable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ParadiseHell%2Fios-icon-to-android-drawable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ParadiseHell%2Fios-icon-to-android-drawable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ParadiseHell","download_url":"https://codeload.github.com/ParadiseHell/ios-icon-to-android-drawable/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ParadiseHell%2Fios-icon-to-android-drawable/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271730032,"owners_count":24811019,"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-08-22T02:00:08.480Z","response_time":65,"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":["android","drawable","icons","ios"],"created_at":"2025-03-31T08:31:08.734Z","updated_at":"2026-04-16T18:34:20.652Z","avatar_url":"https://github.com/ParadiseHell.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ios-icon-to-android-drawable\n\na script try to make the ios icons into special android drawable folder.\n\n## ios icon naming rule\n\n- **4 kinds of mining rules**\n\t- **lower camel case**(cameraPick.png) \n\t\t- **parameter:** 1 \n\t- **upper camel case**(CameraPick.png)\n\t\t- **parameter:** 2\n\t- **upper camel case with space**(Camera Pick.png)\n\t\t- **parameter:** 3\n\t- **lower case with dashes**(camera-pick.png)\n\t\t- **parameter:** 4\n\n- **Special icon suffix** (the following is just sample)\n\n\t\tcameraPick.png     ====\u003e  camera_pick.png  ====\u003e  drawable-hdpi\n\t\tcameraPick@2x.png  ====\u003e  camera_pick.png  ====\u003e  drawable-xhdpi\n\t\tcameraPick@3x.png  ====\u003e  camera_pick.png  ====\u003e  drawable-xxhdpi\n\t\tcameraPick@4x.png  ====\u003e  camera_pick.png  ====\u003e  drawable-xxxhdpi\n\t\nIn this README file I use **@{number}x as special icon** suffix to define different ios icons,of course\nyou can use the way you like. Such as **${number}x** , **#{number}x** and so on,but **make sure you can\nfind the difference between all icons.**\n\n## How to use\n\n1. `git clone https://github.com/ParadiseHell/ios-icon-to-android-drawable.git`\n2. `cd ios-icon-to-android-drawable`\n3. `chmod 761 ./convert.sh`\n4. **Configuration the config file**\n5. **Execute convert:** `./convert.sh`\n\n### How to configuration the config file\n\n- **android_drawable_directory:** the path that contain all android drawable folder(the path is **not required to be existed**)\n- **iso_icon_directory:** the path that contain all ios incons(the path is **required to be existed**)\n- **image_suffix:** an array that contain all image suffix that you want(**be carefal to add .**)\n- **xhdpi:** the special suffix of the drawable-xhdpi icons\n- **xxhdpi:** the special suffix of the drawable-xxhdpi icons\n- **xxxhdpi:** the special suffix of the drawable-xxxhdpi icons\n\n#### Sample of the config file\n```sh\n  android_drawable_directory=\"/home/chengtao/drawable\"\n  ios_icon_directory=\"/home/chengtao/iso/icons\"\n  image_suffix=(\".png\" \".jpg\")\n  naming_rule=1 #set the naming rule ios icons using,please use number 1,2,3 or 4\n  xhdpi=\"@2x\"#you can use your own naming rule\n  xxhdpi=\"@3x\"#you can use your own naming rule\n  xxxhdpi=\"@4x\"#you can use your own naming rule\n```\n\n## License\n\n\tCopyright 2017 ChengTao\n\n\tLicensed under the Apache License, Version 2.0 (the \"License\");\n\tyou may not use this file except in compliance with the License.\n\tYou may obtain a copy of the License at\n\t\t\n\t\thttp://www.apache.org/licenses/LICENSE-2.0\n\t\t\n\tUnless required by applicable law or agreed to in writing, software\n\tdistributed under the License is distributed on an \"AS IS\" BASIS,\n\tWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\tSee the License for the specific language governing permissions and\n\tlimitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparadisehell%2Fios-icon-to-android-drawable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparadisehell%2Fios-icon-to-android-drawable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparadisehell%2Fios-icon-to-android-drawable/lists"}