Skip to content
wlmxenl edited this page May 19, 2022 · 6 revisions

本项目在 wildma/ScreenAdaptation 基础之上添加部分最小宽度基准值,新增的基准值从 1.2w+ 不同特征的设备信息(来源于线上项目采集)中提取,数据文件地址 rootProjectDir/devices_full.csv

参考资料

使用说明

// Step 1. Add the JitPack repository to your build file
allprojects {
    repositories {
	...
	maven { url 'https://jitpack.io' }
    }
}

// Step 2. Add the dependency
dependencies {
    // 最小宽度 375dp
    implementation 'com.github.wlmxenl:ScreenAdaptation:1.1'
}
Clone this wiki locally