{"id":13645182,"url":"https://github.com/LineChen/TwoPageLayout","last_synced_at":"2025-04-21T13:32:09.784Z","repository":{"id":96631392,"uuid":"69519936","full_name":"LineChen/TwoPageLayout","owner":"LineChen","description":"重写LinearLayout，仿淘宝商品详情页，上拉查看更多详情","archived":false,"fork":false,"pushed_at":"2018-07-26T10:06:18.000Z","size":11486,"stargazers_count":80,"open_issues_count":1,"forks_count":16,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-09T18:41:42.113Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LineChen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-09-29T01:50:25.000Z","updated_at":"2022-04-01T06:09:11.000Z","dependencies_parsed_at":"2024-01-14T11:19:37.572Z","dependency_job_id":"66bbb31a-a468-4cda-86fb-4d77f5558d44","html_url":"https://github.com/LineChen/TwoPageLayout","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LineChen%2FTwoPageLayout","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LineChen%2FTwoPageLayout/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LineChen%2FTwoPageLayout/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LineChen%2FTwoPageLayout/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LineChen","download_url":"https://codeload.github.com/LineChen/TwoPageLayout/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250064733,"owners_count":21368965,"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":[],"created_at":"2024-08-02T01:02:30.880Z","updated_at":"2025-04-21T13:32:04.771Z","avatar_url":"https://github.com/LineChen.png","language":"Java","readme":"# TwoPageLayout\n重写LinearLayout，仿淘宝商品详情页，上拉查看更多详情\n\n![效果图](https://github.com/LineChen/TwoPageLayout/blob/master/screenshot/sh.gif)\n\n##使用\n\n- 布局:TwoPageLayout作为父布局，内部有且只能有两个子控件ScrollEndScrollView\n\n```java\n\u003ccom.beiing.twopagelayout.widget.TwoPageLayout\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\"\u003e\n\n        \u003ccom.beiing.twopagelayout.widget.ScrollEndScrollView\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"match_parent\"\n            android:visibility=\"visible\"\u003e\n\n            \u003cLinearLayout\n                android:layout_width=\"match_parent\"\n                android:layout_height=\"match_parent\"\n                android:orientation=\"vertical\"\u003e\n                \u003cImageView\n                    android:layout_width=\"match_parent\"\n                    android:scaleType=\"centerCrop\"\n                    android:layout_height=\"200dp\"\n                    android:background=\"@mipmap/m1\"\n                    /\u003e\n\n                \u003cImageView\n                    android:layout_width=\"match_parent\"\n                    android:scaleType=\"centerCrop\"\n                    android:layout_height=\"200dp\"\n                    android:background=\"@mipmap/m2\"\n                    /\u003e\n\n                \u003cImageView\n                    android:layout_width=\"match_parent\"\n                    android:scaleType=\"centerCrop\"\n                    android:layout_height=\"200dp\"\n                    android:background=\"@mipmap/m3\"\n                    /\u003e\n\n                \u003cImageView\n                    android:layout_width=\"match_parent\"\n                    android:scaleType=\"centerCrop\"\n                    android:layout_height=\"200dp\"\n                    android:background=\"@mipmap/m4\"\n                    /\u003e\n\n                \u003cImageView\n                    android:layout_width=\"match_parent\"\n                    android:scaleType=\"centerCrop\"\n                    android:layout_height=\"200dp\"\n                    android:background=\"@mipmap/m8\"\n                    /\u003e\n\n                \u003cImageView\n                    android:layout_width=\"match_parent\"\n                    android:scaleType=\"centerCrop\"\n                    android:layout_height=\"200dp\"\n                    android:background=\"@mipmap/m9\"\n                    /\u003e\n\n                \u003cTextView\n                    android:layout_width=\"match_parent\"\n                    android:layout_height=\"wrap_content\"\n                    android:padding=\"30dp\"\n                    android:background=\"#2888\"\n                    android:gravity=\"center\"\n                    android:text=\"继续拖动，查看更多美女\"\n                    /\u003e\n\n            \u003c/LinearLayout\u003e\n\n        \u003c/com.beiing.twopagelayout.widget.ScrollEndScrollView\u003e\n\n        \u003ccom.beiing.twopagelayout.widget.ScrollEndScrollView\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"wrap_content\"\u003e\n\n            \u003cLinearLayout\n                android:layout_width=\"match_parent\"\n                android:layout_height=\"match_parent\"\n                android:orientation=\"vertical\"\u003e\n                \u003cImageView\n                    android:layout_width=\"match_parent\"\n                    android:scaleType=\"centerCrop\"\n                    android:layout_height=\"200dp\"\n                    android:background=\"@mipmap/m5\"\n                    /\u003e\n\n                \u003cImageView\n                    android:layout_width=\"match_parent\"\n                    android:scaleType=\"centerCrop\"\n                    android:layout_height=\"200dp\"\n                    android:background=\"@mipmap/m6\"\n                    /\u003e\n\n                \u003cImageView\n                    android:layout_width=\"match_parent\"\n                    android:scaleType=\"centerCrop\"\n                    android:layout_height=\"200dp\"\n                    android:background=\"@mipmap/m7\"\n                    /\u003e\n\n                \u003cImageView\n                    android:layout_width=\"match_parent\"\n                    android:scaleType=\"centerCrop\"\n                    android:layout_height=\"200dp\"\n                    android:background=\"@mipmap/m10\"\n                    /\u003e\n\n                \u003cImageView\n                    android:layout_width=\"match_parent\"\n                    android:scaleType=\"centerCrop\"\n                    android:layout_height=\"200dp\"\n                    android:background=\"@mipmap/m11\"\n                    /\u003e\n\n                \u003cImageView\n                    android:layout_width=\"match_parent\"\n                    android:scaleType=\"centerCrop\"\n                    android:layout_height=\"200dp\"\n                    android:background=\"@mipmap/ruhua\"\n                    /\u003e\n\n                \u003cTextView\n                    android:layout_width=\"match_parent\"\n                    android:layout_height=\"wrap_content\"\n                    android:padding=\"30dp\"\n                    android:background=\"#2888\"\n                    android:gravity=\"center\"\n                    android:text=\"已经到底了\"\n                    /\u003e\n            \u003c/LinearLayout\u003e\n\n        \u003c/com.beiing.twopagelayout.widget.ScrollEndScrollView\u003e\n\n\n    \u003c/com.beiing.twopagelayout.widget.TwoPageLayout\u003e\n\n```\n\n## [详细介绍请看：自定义LinearLayout实现淘宝详情页](http://blog.csdn.net/u011102153/article/details/52703119)\n\n#License\n\n```\n   Copyright 2016 LineChen \u003c15764230067@163.com\u003e\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n```\n","funding_links":[],"categories":["详情页"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLineChen%2FTwoPageLayout","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FLineChen%2FTwoPageLayout","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLineChen%2FTwoPageLayout/lists"}