{"id":21130160,"url":"https://github.com/nirhart/ParallaxScroll","last_synced_at":"2025-07-09T01:32:32.965Z","repository":{"id":14822065,"uuid":"17544706","full_name":"nirhart/ParallaxScroll","owner":"nirhart","description":"Parallax ScrollView and ListView for Android","archived":false,"fork":false,"pushed_at":"2017-12-22T08:25:48.000Z","size":695,"stargazers_count":848,"open_issues_count":31,"forks_count":190,"subscribers_count":33,"default_branch":"master","last_synced_at":"2023-11-07T14:32:07.321Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"karlhorky/learn-to-program","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nirhart.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}},"created_at":"2014-03-08T15:33:42.000Z","updated_at":"2023-09-06T15:01:14.000Z","dependencies_parsed_at":"2022-09-26T21:50:26.178Z","dependency_job_id":null,"html_url":"https://github.com/nirhart/ParallaxScroll","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nirhart%2FParallaxScroll","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nirhart%2FParallaxScroll/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nirhart%2FParallaxScroll/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nirhart%2FParallaxScroll/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nirhart","download_url":"https://codeload.github.com/nirhart/ParallaxScroll/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225476373,"owners_count":17480215,"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-11-20T05:32:20.331Z","updated_at":"2024-11-20T05:32:28.390Z","avatar_url":"https://github.com/nirhart.png","language":"Java","funding_links":[],"categories":["Libs"],"sub_categories":["\u003cA NAME=\"Widget\"\u003e\u003c/A\u003eWidget"],"readme":"Parallax Scrolls\n================\n# Parallax ListView and ScrollView for Android\n\n## This project includes\n* ScrollView with one or more parallaxed views\n* ListView with parallaxed header\n* Complete parallaxed ListView\n* ExpandableListView with parallaxed header\n* Complete parallaxed ExpandableListView\n* Support Android 1.6 and above\n\n## Usage\n### See demo app for best practice - https://play.google.com/store/apps/details?id=com.nirhart.parallaxscrollexample\n* parallax_factor - For ScrollView and ListView, the first view's parallax factor\n* inner_parallax_factor - For ScrollView only - the parallax factor between each view and view\n* parallax_views_num - For ScrollView only - the number of parallaxed views\n* circular_parallax - For ListView only - whether all of the list is parallaxed or not\n\n## Maven repository access\n\n### In the build.gradle (at the module level) add the new dependency:\n```\n  compile 'com.github.nirhart:parallaxscroll:1.0'\n```\n\nor look for it using Android Studio module dependencies\n\n### Example ParallaxScroll Usage\n\n```xml\n\u003ccom.nirhart.parallaxscroll.views.ParallaxScrollView xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    xmlns:tools=\"http://schemas.android.com/tools\"\n    xmlns:app=\"http://schemas.android.com/apk/res-auto\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"match_parent\"\n    app:parallax_factor=\"1.9\"\n    tools:context=\".MainActivity\" \u003e\n\n    \u003cLinearLayout\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"wrap_content\"\n        android:orientation=\"vertical\" \u003e\n\n        \u003cTextView\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"200dp\"\n            android:background=\"@drawable/item_background\"\n            android:gravity=\"center\"\n            android:text=\"PARALLAXED\"\n            android:textSize=\"50sp\"\n            tools:ignore=\"HardcodedText\" /\u003e\n\n        \u003cTextView\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"wrap_content\"\n            android:text=\"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. \tLorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\"\n            android:textSize=\"26sp\"\n            android:background=\"@android:color/white\"\n            android:padding=\"5dp\"\n            tools:ignore=\"HardcodedText\" /\u003e\n    \u003c/LinearLayout\u003e\n\n\u003c/com.nirhart.parallaxscroll.views.ParallaxScrollView\u003e\n```\n\n## Building\n\n### Using gradle to build.\n\n This project uses the gradle wrapper to build the library and example app\n\n#### assemble the library\n\n`./gradlew :ParallaxScroll:assembleDebug`\n\n\n#### install the example\n\n`./gradlew :ParallaxScrollExample:installDebug`\n\n*note:* on windows use `gradlew.bat` instead of `./gradlew`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnirhart%2FParallaxScroll","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnirhart%2FParallaxScroll","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnirhart%2FParallaxScroll/lists"}