{"id":20905338,"url":"https://github.com/l123456789jy/autoandroidlayout","last_synced_at":"2025-05-13T05:31:11.616Z","repository":{"id":162380883,"uuid":"86888313","full_name":"l123456789jy/AutoAndroidLayout","owner":"l123456789jy","description":"AutoAndroidLayout  Android屏幕适配方案，直接填写设计图上的像素尺寸即可。","archived":false,"fork":false,"pushed_at":"2017-04-01T08:41:37.000Z","size":333,"stargazers_count":95,"open_issues_count":0,"forks_count":13,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-01T18:24:35.134Z","etag":null,"topics":["android","autoandroidlayout"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/l123456789jy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2017-04-01T06:04:36.000Z","updated_at":"2025-02-22T23:28:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"36caf200-a991-4960-8591-1f81a9782031","html_url":"https://github.com/l123456789jy/AutoAndroidLayout","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/l123456789jy%2FAutoAndroidLayout","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/l123456789jy%2FAutoAndroidLayout/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/l123456789jy%2FAutoAndroidLayout/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/l123456789jy%2FAutoAndroidLayout/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/l123456789jy","download_url":"https://codeload.github.com/l123456789jy/AutoAndroidLayout/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253882908,"owners_count":21978565,"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","autoandroidlayout"],"created_at":"2024-11-18T13:24:23.787Z","updated_at":"2025-05-13T05:31:11.608Z","avatar_url":"https://github.com/l123456789jy.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AutoAndroidLayout\n- 只需要填写UI给的切图就可以\n\n\n- 使用方法，先在`application` 初始化\n\n\n- 依赖方式\n\n```java\ncompile project(path: ':autolayoutlibrary')\n\n```\n\n\n```java\nLayoutUtil.initConfig(手机屏幕宽, 手机屏幕高, 切图高, 切图宽);\n\n```\n\n- 第二步，在您的Activity中\n\n```java\n\n LayoutUtil mlayoutUtil = LayoutUtil.getInstance();\n    mlayoutUtil.xxxxxxx\n\n```\n\n\n- [详情使用方法请看例子](https://github.com/l123456789jy/AutoAndroidLayout/blob/master/app/src/main/java/com/lazy/autoandroidlayout/MainActivity.java)\n\n\n\n\n- 华为手机效果：\n\n\n\n\n\n\n\n![](https://github.com/l123456789jy/AutoAndroidLayout/blob/master/image/hua_wei_a.jpg)![](https://github.com/l123456789jy/AutoAndroidLayout/blob/master/image/hua_wei_b.jpg)\n\n\n\n\n\n\n\n\n- 魅族手机效果：\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n![](https://github.com/l123456789jy/AutoAndroidLayout/blob/master/image/mei_zu_a.jpg)![](https://github.com/l123456789jy/AutoAndroidLayout/blob/master/image/mei_zu_b.jpg)\n\n\n\n\n\n\n\n\n- 三星手机效果：\n\n\n\n\n\n\n\n\n\n\n\n\n![](https://github.com/l123456789jy/AutoAndroidLayout/blob/master/image/san_xing_a.jpg) ![](https://github.com/l123456789jy/AutoAndroidLayout/blob/master/image/san_xing_b.jpg)\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n- 小米手机效果：\n\n\n\n\n\n\n![](https://github.com/l123456789jy/AutoAndroidLayout/blob/master/image/xiao_mi_a.jpg)![](https://github.com/l123456789jy/AutoAndroidLayout/blob/master/image/xiao_mi_b.jpg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fl123456789jy%2Fautoandroidlayout","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fl123456789jy%2Fautoandroidlayout","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fl123456789jy%2Fautoandroidlayout/lists"}