Comments (3)
可以正常生成,我把你的dimen数据拿去测试了,bat批处理方式和As插件方式都可行。
我怀疑是你修改的地方不对。
添加基础的dp和sp值,需要修改的文件是res/values/dimens.xml文件。
在使用bat或AS插件批量生成时,是解析res/values/dimens.xml文件数据,然后批量写入其他res/values-swXXXdp/dimens.xml文件中。在除res/values/dimens.xml文件之外的地方修改都是无效的。
还有一些细节要注意,请阅读文章http://blog.csdn.net/fesdgasdgasdg/article/details/78133821。
感谢提供宝贵意见!
本插件功能已在多家公司验证过。现正用于名企,目前无问题,请大家放心使用!
from phonescreenmatch.
最新jar和bat文件,请去https://github.com/mengzhinan/PhoneScreenMatch下载。
AS插件,请去AS插件管理界面搜索Screenmatch安装。
from phonescreenmatch.
最新讨论信息请看mengzhinan/ScreenMatch#1
from phonescreenmatch.
Related Issues (14)
- dp适配太多文件夹,能简化几个当下主流的几个吗? HOT 1
- 关于dp使用! HOT 5
- 关于横竖屏切换问题? HOT 1
- 发现华为的mate8手机,demo测试按钮不能铺满屏幕
- bug解决:更新了dimen数据项,生成适配后为什么没有更新对应的dimens.xml文件
- 求联系方式 HOT 1
- 请问value 下特定的dimen.xml 是怎么来的呢
- 生成最小宽度,以代码计算出来的为主,还是以实际用公式计算出来的为主呢?
- 虚拟按键
- 关于屏幕适配的讨论
- 有没有参数可以改变sw<N>dp为w<N>dp?横版应用想做可用宽度的dp适配
- tv 可以用这种来适配吧 1080*1920
- 如何在java代码中动态设置尺寸
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phonescreenmatch.