{"id":20306267,"url":"https://github.com/waynell/dropanimationview","last_synced_at":"2025-10-11T09:40:39.267Z","repository":{"id":96027156,"uuid":"46258146","full_name":"waynell/DropAnimationView","owner":"waynell","description":"Imitating the animation of falling leaves","archived":false,"fork":false,"pushed_at":"2017-12-12T02:40:29.000Z","size":1481,"stargazers_count":48,"open_issues_count":5,"forks_count":19,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-25T11:11:28.025Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/waynell.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,"zenodo":null}},"created_at":"2015-11-16T07:12:52.000Z","updated_at":"2024-08-16T02:45:22.000Z","dependencies_parsed_at":"2023-03-12T23:15:27.450Z","dependency_job_id":null,"html_url":"https://github.com/waynell/DropAnimationView","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/waynell%2FDropAnimationView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waynell%2FDropAnimationView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waynell%2FDropAnimationView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waynell%2FDropAnimationView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/waynell","download_url":"https://codeload.github.com/waynell/DropAnimationView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248429065,"owners_count":21101780,"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-14T17:12:41.484Z","updated_at":"2025-10-11T09:40:34.233Z","avatar_url":"https://github.com/waynell.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿# DropAnimationView\n---\n\nUsing Android Property Animation to implement the animation of leaves falling.\n\n# Demo\n---\n![preview_drop_animation](preview_drop_animation.gif)\n\n# Gradle dedependency\n    compile 'com.waynell.library:drop-animation-view:1.0'\n    \n# Usage\n---\nFirst, add following code into your layout xml\n\n    \u003ccom.waynell.library.DropAnimationView\n        android:id=\"@+id/drop_animation_view\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\"\n        app:minSize=\"30dp\"\n        app:maxSize=\"50dp\"\n        app:largePercent=\"80%\"\n        app:rate=\"100\"\n        app:xAnimate=\"true\"\n        app:yAnimate=\"true\"\n        app:rotationAnimate=\"true\"/\u003e\n\nSecond, find this view and set drawables id\n\n    DropAnimationView view = (DropAnimationView) findViewById(R.id.drop_animation_view);\n    view.setDrawables(R.drawable.leaf_1,\n            R.drawable.leaf_2,\n            R.drawable.leaf_3,\n            R.drawable.leaf_4,\n            R.drawable.leaf_5,\n            R.drawable.leaf_6);\n\nfinally, call startAnimation() begin doing animation.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaynell%2Fdropanimationview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwaynell%2Fdropanimationview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaynell%2Fdropanimationview/lists"}