Skip to content

🔥🔥🔥 A plugin that supports multiple screens by generating dimens.xml for any width screen size using minimum width qualifier.🔥🔥🔥 安卓最小宽度限定符插件.(生成多套dimens文件以及转换没有使用dimens的layout文件或者文件夹

License

Notifications You must be signed in to change notification settings

Wenlong-Guo/Dimens-Generating

Repository files navigation

Dimens-Generating


Plugin Homepage License Version Downloads

☑️ A plugin that supports multiple screens by generating dimens.xml for any width screen size using minimum width qualifier.

Getting Started 开始使用

Features

  • Generate a dimens.xml file of the specified size (can be customized) based on the selected dimens.xml file.
  • When the file to be generated already exists, you can control whether to override.
  • Can generate multiple files of the specified size at the same time.
  • Transformation layout.xml or layout folder DP DIP SP in the resource file.

Usage

  • Choose origin dimens.xml -> right click -> Generate Dimens -> Edit options -> Click "Generate/生成" button.
  • Choose layout.xml or layout folder -> right click -> Converter Dimens -> Edit options -> Click "Converter/转换" button.

Tips

  • Welcome to improve your opinion.
  • If you feel good,please star,thank you very much.

Change Notes

V3.1.0

  1. feature : Add Update notes feature.

V3.0.0

  1. refactor : Building a project using Kotlin through Gradle.

V2.0.5

  1. fix android studio compatibility

V2.0.4

  1. fix : issue #18

V2.0.3

  1. fix : some V2.0.0 Bugs

V2.0.0

  1. fix : issue #6
  2. feature : Add Logo
  3. feature : Transformation layout.xml or layout folder DP DIP SP in the resource file

V1.2.0

  1. Redraw the UI
  2. Add save configuration function
  3. Support English and Chinese
  4. Fix bug where resource attribute cannot be converted starting with "dip"

V1.1.0

  1. feature : Custom decimal bit
  2. feature : Generate multiple default parameter
  3. feature : Custom qualifier name

V1.0.1

  1. fix : Solve the problem that the specified size of the generated file is invalid

V1.0.0

  1. First Version generate dimens.xml

ScreenShot

ScreenShot

To Do List

  • Support Japanese and Korean languages
  • Batch generate dp and sp with specified naming conventions in dimens.xml
  • Add folder naming convention for generating dimens.xml
  • Enhance conversion function and provide conversion utilities for px, dp, dip, and sp referenced in the code
  • View current phone screen information via adb.

License

Copyright 2018 Wenlong Guo

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About Me

访问量统计
  • 📍   北京(Beijing)
  • 👨‍🎓  NKY.
  • 👩‍💻 8 years of work.
  • 🏢 待业 (求内推)
  • ☎️ 17600133786
  • wx : xiaoguo9745
  • 📧 [email protected]
  • ℹ️ 24k纯90后 没几年就35毕业了,毕业前开始总结安卓的经验,也算是给自己的这些年一个交代

About My Github




GIF

About

🔥🔥🔥 A plugin that supports multiple screens by generating dimens.xml for any width screen size using minimum width qualifier.🔥🔥🔥 安卓最小宽度限定符插件.(生成多套dimens文件以及转换没有使用dimens的layout文件或者文件夹

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages