在 Android Studio 中安装 ScreenMatch 插件

384 阅读1分钟

1.ScreenMatch 使用流程 image.png

2.安装完成之后 在values 里边创建一个 dimens 可以复制github [ScreenAdaptation/dimens.xml at master · wildma/ScreenAdaptation · GitHub] 的 dimens 参数值 (github.com/wildma/Scre…)

image.png

3.安装完成之后 点击ScreenMatch 会生成很多values 相对应的尺寸文件

image.png

4.根据修改这个基础值 生成对应的 尺寸 在走一遍流程3

image.png