{"id":19508096,"url":"https://github.com/wenlong-guo/dimens-generating","last_synced_at":"2025-04-26T02:33:53.593Z","repository":{"id":44875772,"uuid":"154920832","full_name":"Wenlong-Guo/Dimens-Generating","owner":"Wenlong-Guo","description":":fire::fire::fire: A plugin that supports multiple screens by generating dimens.xml for any width screen size using minimum width qualifier.:fire::fire::fire: 安卓最小宽度限定符插件.(生成多套dimens文件以及转换没有使用dimens的layout文件或者文件夹","archived":false,"fork":false,"pushed_at":"2023-05-22T14:27:21.000Z","size":5245,"stargazers_count":23,"open_issues_count":1,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-04T07:04:03.837Z","etag":null,"topics":["android","android-studio-plugin","app","dimensions","generate","jetbrains-ides","plugins"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/Wenlong-Guo.png","metadata":{"files":{"readme":"README-zh.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-10-27T03:18:54.000Z","updated_at":"2025-02-20T08:31:13.000Z","dependencies_parsed_at":"2024-11-10T23:03:46.211Z","dependency_job_id":null,"html_url":"https://github.com/Wenlong-Guo/Dimens-Generating","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wenlong-Guo%2FDimens-Generating","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wenlong-Guo%2FDimens-Generating/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wenlong-Guo%2FDimens-Generating/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wenlong-Guo%2FDimens-Generating/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Wenlong-Guo","download_url":"https://codeload.github.com/Wenlong-Guo/Dimens-Generating/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250922201,"owners_count":21508290,"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","android-studio-plugin","app","dimensions","generate","jetbrains-ides","plugins"],"created_at":"2024-11-10T23:03:41.995Z","updated_at":"2025-04-26T02:33:53.587Z","avatar_url":"https://github.com/Wenlong-Guo.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \u003cimg src=\"https://raw.githubusercontent.com/Wenlong-Guo/open-assets/main/img/blog/pluginIcon.svg\" style=\"width: 26px\"\u003e Dimens-Generating\n\n---\n\n[![Plugin Homepage][badge:plugin-homepage]][plugin-homepage]\n[![License][license-img]][license]\n[![Version][version-img]][plugin]\n[![Downloads][badge:downloads]][plugin-homepage]\n\n:ballot_box_with_check: 安卓最小宽度限定符插件.(生成多套dimens文件以及转换没有使用dimens的layout文件或者文件夹)\n\n[![Getting Started][badge:get-started-en]][get-started-en]\n[![开始使用][badge:get-started-zh]][get-started-zh]\n\n[//]: # ([![はじめに][badge:get-started-jp]][get-started-ja])\n\n[//]: # ([![시작하기][badge:get-started-ko]][get-started-ko])\n\n- [功能](#功能)\n- [用法](#用法)\n- [小贴士](#小贴士)\n- [变更说明](#变更说明)\n  - [V3.1.0](#V310)\n  - [V3.0.0](#V300)\n  - [V2.0.5](#V205)\n  - [V2.0.4](#V204)\n  - [V2.0.3](#V203)\n  - [V2.0.0](#V200)\n  - [V1.2.0](#V120)\n  - [V1.1.0](#V110)\n  - [V1.0.1](#V101)\n  - [V1.0.0](#V100)\n- [ScreenShot](#ScreenShot)\n- [License](#License)\n- [About My Github](#About-My-Github)\n- [About Me](#About-Me)\n\n## 功能\n\n* 根据所选的dimens.xml文件生成指定尺寸（可自定义）的dimens.xml文件。\n* 当要生成的文件已经存在时，可以控制是否覆盖。\n* 可以同时生成多个指定大小的文件。\n* 在资源文件中，将layout.xml文件或layout文件夹中的DP、DIP或SP进行转换。\n\n## 用法\n\n* 选择dimens.xml -\u003e 右键 -\u003e Generate Dimens -\u003e 编辑选项 -\u003e 点击 \"Generate/生成\" 按钮。\n* 选择layout.xml或者layout文件夹 -\u003e 右键 -\u003e Converter Dimens -\u003e 编辑选项 -\u003e 点击 \"Converter/转换\" 按钮。\n\n## 小贴士\n\n* 欢迎提出您的意见和建议。\n* 如果您感觉该产品不错，请为我们点赞，非常感谢。\n\n## 变更说明\n\n### V3.1.0\n1. 功能：增加更新日志提示的功能\n\n### V3.0.0\n1. 重构：使用 `Kotlin` 和 `Gradle` 构建项目。\n\n### V2.0.5\n1. 修复：与 Android Studio 兼容性问题\n\n### V2.0.4\n1. 修复 修复 issue #18\n\n### V2.0.3\n1. 修复：修复了一些 V2.0.0 中的错误。\n\n### V2.0.0\n1. 修复：修复 issue #6\n2. 功能：添加 `Logo`\n3. 功能：在资源文件中，将`layout.xml`或`layout folder`中的`DP` `DIP` `SP`进行转换。\n\n### V1.2.0\n1. 重新设计了用户界面\n2. 添加了保存配置函数\n3. 支持`英语`和`中文`\n4. 修复了资源属性以“dip”开头时无法转换的错误。\n\n### V1.1.0\n1. 功能：自定义小数点位数\n2. 功能：生成多个默认参数\n3. 功能：自定义限定符名称\n\n### V1.0.1\n1. 修正：解决了生成文件的指定大小无效的问题。\n\n### V1.0.0\n1. 初始版本：生成 `dimens.xml`。\n\n## ScreenShot\n\n![ScreenShot](https://plugins.jetbrains.com/files/11290/screenshot_19610.png)\n\n## To Do List\n\n* 支持日语和韩语\n* 在dimens.xml批量生成指定命名规则的dp和sp\n* 增加生成dimens.xml的文件夹命名规则\n* 增强转换功能 附赠代码中引用的px dp dip sp的转换工具类\n* 通过adb查看当前手机的屏幕信息\n\nLicense\n-------\n\n    Copyright 2023 Wenlong Guo\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n\n## About Me\n\u003cdiv align=\"left\"\u003e\n    \u003ca href=\"https://juejin.cn/user/3931509310370701/posts\"\u003e\u003cimg src=\"https://img.shields.io/badge/Website-掘金-blue\" /\u003e\u003c/a\u003e\u0026emsp;\n\u003c!--     \u003ca href=\"https://twitter.com/sun0225SUN/\"\u003e\u003cimg src=\"https://img.shields.io/badge/Twitter-推特-blue\" /\u003e\u003c/a\u003e\u0026emsp; --\u003e\n\u003c!--     \u003ca href=\"https://www.youtube.com/@sun0225SUN\"\u003e\u003cimg src=\"https://img.shields.io/badge/YouTube-油管-c32136\" /\u003e\u003c/a\u003e\u0026emsp; --\u003e\n\u003c!--     \u003ca href=\"https://box.sunguoqi.com/weixin_mp\"\u003e\u003cimg src=\"https://img.shields.io/badge/WeChat-微信-07c160\" /\u003e\u003c/a\u003e\u0026emsp; --\u003e\n    \u003ca href=\"https://space.bilibili.com/321426902\"\u003e\u003cimg src=\"https://img.shields.io/badge/Bilibili-B站-ff69b4\" /\u003e\u003c/a\u003e\u0026emsp;\n\u003c!--     \u003ca href=\"https://blog.csdn.net/weixin_50915462/\"\u003e\u003cimg src=\"https://img.shields.io/badge/CSDN-论坛-c32136\" /\u003e\u003c/a\u003e\u0026emsp; --\u003e\n\u003c!--     \u003ca href=\"https://www.zhihu.com/people/sunguoqi/\"\u003e\u003cimg src=\"https://img.shields.io/badge/Zhihu-知乎-blue\" /\u003e\u003c/a\u003e\u0026emsp; --\u003e\n    \u003c!-- visitor statistics logo 访客数统计徽标 --\u003e\n    \u003cimg src=\"https://komarev.com/ghpvc/?username=Wenlong-Guo\u0026label=Views\u0026color=0e75b6\u0026style=flat\" alt=\"访问量统计\" /\u003e\n    \u003c!--  \u003cimg src=\"https://visitor-badge.glitch.me/badge?page_id=sun0225SUN\" alt=\"访客统计\" /\u003e --\u003e\n\u003c/div\u003e\n\n- 📍 \u0026nbsp;\u0026nbsp;北京(Beijing)\n- 👨‍🎓 \u0026nbsp;NKY.\n- 👩‍💻 8 years of work.\n- 🏢 待业 (求内推)\n- ☎️ 17600133786\n- wx : xiaoguo9745\n- 📧  [guowenlong20000@sina.com](mailto:guowenlong20000@sina.com)\n- ℹ️ 24k纯90后 没几年就35毕业了,毕业前开始总结安卓的经验,也算是给自己的这些年一个交代\n\n## About My Github\n\n\u003cbr/\u003e \n\u003cdiv align=\"left\"\u003e\n\u003cimg height='170' src=\"https://github-readme-stats.vercel.app/api/top-langs/?username=Wenlong-Guo\u0026layout=compact\u0026langs_count=8\u0026theme=cobalt\" align=\"center\" /\u003e\n\u003cimg height='170' src=\"https://github-readme-stats.vercel.app/api?username=Wenlong-Guo\u0026show_icons=true\u0026theme=cobalt\" align=\"center\" /\u003e\n\u003c/div\u003e\n\u003cbr\u003e\u003c/br\u003e\n\u003cimg  alt=\"GIF\" src=\"https://raw.githubusercontent.com/Wenlong-Guo/open-assets/main/img/blog/gif3.gif\"/\u003e\n\n[license-img]: https://img.shields.io/badge/License-MIT-blue.svg\n[license]: https://github.com/Wenlong-Guo/Dimens-Generating/blob/master/LICENSE\n[version-img]: https://img.shields.io/badge/Jetbrains%20Plugins-V3.1.0-blue.svg\n[plugin]: https://plugins.jetbrains.com/plugin/11290\n\n[badge:plugin-homepage]: https://img.shields.io/badge/plugin--homepage-Dimens--Generating-blue\n[badge:downloads]: https://img.shields.io/jetbrains/plugin/d/11290.svg?style=flat-square\u0026colorB=blue\n\n[plugin-homepage]: https://plugins.jetbrains.com/plugin/11290-dimens-generating\n[dimens-generating-plugin]: https://plugins.jetbrains.com/plugin/11290-dimens-generating\n[plugin-homepage]: https://plugins.jetbrains.com/plugin/8579-translation\n\n[badge:get-started-en]: https://img.shields.io/badge/Get%20Started-English-4CAF50?style=flat-square\n[badge:get-started-zh]: https://img.shields.io/badge/%E5%BC%80%E5%A7%8B%E4%BD%BF%E7%94%A8-%E4%B8%AD%E6%96%87-2196F3?style=flat-square\n[badge:get-started-jp]: https://img.shields.io/badge/%E3%81%AF%E3%81%98%E3%82%81%E3%81%AB-%E6%97%A5%E6%9C%AC%E8%AA%9E-009688?style=flat-square\n[badge:get-started-ko]: https://img.shields.io/badge/%EC%8B%9C%EC%9E%91%ED%95%98%EA%B8%B0-%ED%95%9C%EA%B5%AD%EC%96%B4-7CB342?style=flat-square\n\n[get-started-en]: https://github.com/Wenlong-Guo/Dimens-Generating/blob/master/README.md\n[get-started-zh]: https://github.com/Wenlong-Guo/Dimens-Generating/blob/master/README-zh.md\n[get-started-ja]: https://github.com/Wenlong-Guo/Dimens-Generating/blob/master/README-ja.md\n[get-started-ko]: https://github.com/Wenlong-Guo/Dimens-Generating/blob/master/README-ko.md\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwenlong-guo%2Fdimens-generating","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwenlong-guo%2Fdimens-generating","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwenlong-guo%2Fdimens-generating/lists"}