{"id":18644342,"url":"https://github.com/succlz123/androidpixeldimengenerator","last_synced_at":"2025-04-11T12:31:05.304Z","repository":{"id":92876375,"uuid":"147281905","full_name":"succlz123/AndroidPixelDimenGenerator","owner":"succlz123","description":":sunflower: Android Studio Plugin - Pixel XML File Generator","archived":false,"fork":false,"pushed_at":"2019-07-24T08:53:11.000Z","size":251,"stargazers_count":35,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T13:45:43.888Z","etag":null,"topics":["android-tv","androidstudio","androidstudio-plugin"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/succlz123.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-09-04T03:13:50.000Z","updated_at":"2022-06-16T08:30:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"2e724bc7-b145-4daa-91b9-9cca0684bee5","html_url":"https://github.com/succlz123/AndroidPixelDimenGenerator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/succlz123%2FAndroidPixelDimenGenerator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/succlz123%2FAndroidPixelDimenGenerator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/succlz123%2FAndroidPixelDimenGenerator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/succlz123%2FAndroidPixelDimenGenerator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/succlz123","download_url":"https://codeload.github.com/succlz123/AndroidPixelDimenGenerator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248401942,"owners_count":21097328,"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","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-tv","androidstudio","androidstudio-plugin"],"created_at":"2024-11-07T06:11:32.926Z","updated_at":"2025-04-11T12:31:05.284Z","avatar_url":"https://github.com/succlz123.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AndroidPixelDimenGenerator\n\n## 插件简介\n\n根据输入的像素来自动生成Android项目的dimen.xml文件,主要是为了适配国产Android TV盒子的各种分辨率。\n\n## 下载方法\n\n方法一：下载编译好的jar文件 - 文件位于out下的artifacts，打开Android Studio - Preferences - Plugins - Install plugin from disk - Restart Android Studio\n\n方法二：官方插件库里搜索 https://plugins.jetbrains.com/plugin/9700-android-pixel-dimen-generator ，打开Android Studio - Preferences - Plugins - Browse repositories - Restart Android Studio\n\n## 使用方法\n\n- 点击Tools菜单 - AndroidPixelDimenGenerator\n- 根据提示输入分辨率的取值范围和分辨率\n- 文件生成路径默认在当前项目的res，如果有多个module一般会在第一个的res中，\n\n  如果遍历不到res文件夹，文件生成路径为当前项目的根目录。\n\n## 注意事项\n\n```\n第一行是正数范围\n1000\n```\n\n```\n第二行是负数范围\n-1000\n```\n\n```\n1920 1080\n宽分辨率空格高分辨率换行\n1280 720\n宽分辨率空格高分辨率换行\n```\n\n## Building\n\n\u003e gradle :runIdea\n\n## 感谢\n\n生成xml文件内容的代码来自于https://github.com/yann9/DimenGenerator\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsucclz123%2Fandroidpixeldimengenerator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsucclz123%2Fandroidpixeldimengenerator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsucclz123%2Fandroidpixeldimengenerator/lists"}