{"id":18269771,"url":"https://github.com/skyfe79/animategradientview","last_synced_at":"2025-04-04T23:31:28.866Z","repository":{"id":137746179,"uuid":"63673780","full_name":"skyfe79/AnimateGradientView","owner":"skyfe79","description":"AnimateGradientView is android library to make gradient flow or rotate infinitely","archived":false,"fork":false,"pushed_at":"2016-07-29T12:10:23.000Z","size":1389,"stargazers_count":48,"open_issues_count":0,"forks_count":8,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-20T20:18:18.904Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/skyfe79.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-07-19T08:01:05.000Z","updated_at":"2023-12-20T02:44:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"79c83460-1c73-4749-a705-98f88f633e78","html_url":"https://github.com/skyfe79/AnimateGradientView","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/skyfe79%2FAnimateGradientView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyfe79%2FAnimateGradientView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyfe79%2FAnimateGradientView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyfe79%2FAnimateGradientView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skyfe79","download_url":"https://codeload.github.com/skyfe79/AnimateGradientView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247266476,"owners_count":20910831,"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-05T11:37:08.017Z","updated_at":"2025-04-04T23:31:28.860Z","avatar_url":"https://github.com/skyfe79.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Platform](https://img.shields.io/badge/platform-android-green.svg)](http://developer.android.com/index.html)\n[![API](https://img.shields.io/badge/API-11%2B-brightgreen.svg?style=flat)](https://android-arsenal.com/api?level=11)\n[![License](https://img.shields.io/badge/License-MIT-blue.svg?style=flat)](http://opensource.org/licenses/MIT)\n\n# AnimateGradientView\n\nAnimateGradientView is android library to make gradient flow or rotate infinitely\n\n![](art/example1.gif) ![](art/example2.gif)\n\n\n## Setup Gradle\n\n```groovy\ndependencies {\n    ...\n    compile 'kr.pe.burt.android.lib:animategradientview:0.0.1'\n}\n```\n\n## Attributes\n\nAnimateGradientView provides a few attributes for animating gradient.\n\n* agv_angle\n\t* is rotation degree of the gradient\n\t* is flat value\n\t* from 0 to 360\n* agv_startColor\n\t* is start color of the gradient\n\t* is color value ( #RRGGBB )\n* agv_endColor\n\t* is end color of the gradient\n\t* is color value ( #RRGGBB )\n* agv_middleColor\n\t* is middle color of the gradient\n\t* is color value ( #RRGGBB )\n* agv_alpha\n\t* is alpha value of the gradient\n\t* is float value\n\t* from 0.0 to 1.0\n* agv_startOffset\n\t* is offset of start color\n\t* is float value\n\t* from 0.0 to 1.0\n* agv_middleOffset\n\t* is offset of middle color\n\t* is float value\n\t* from 0.0 to 1.0\n* agv_endOffset\n\t* is offset of end color\n\t* is float value\n\t* from 0.0 to 1.0\n* agv_gradient_scale\n\t* is scale factor of the gradient\n\t* is float value\n* agv_autostart\n\t* true or false\n* agv_duration\n\t* is friction value to animation\n* agv_animation\n\t* rotation or flow\n* agv_flow_direction\n\t* left, right, top or bottom \n\n## Examples\n\n### Flow Animation \n```xml\n\u003ckr.pe.burt.android.lib.animategradientview.AnimateGradientView\n        android:id=\"@+id/agv\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\"\n        android:layout_centerInParent=\"true\"\n        agv:agv_startColor=\"#FF2D55\"\n        agv:agv_endColor=\"#A542EA\"\n        agv:agv_alpha=\"1.0\"\n        agv:agv_gradient_scale=\"1.4\"\n        agv:agv_animation=\"flow\"\n        agv:agv_angle=\"45\"\n        agv:agv_duration=\"1000\"\n        /\u003e\n```\n\n### Rotate Animation\n\n```xml\n\u003ckr.pe.burt.android.lib.animategradientview.AnimateGradientView\n        android:id=\"@+id/agv\"\n        android:layout_width=\"320dp\"\n        android:layout_height=\"68dp\"\n        android:layout_alignParentTop=\"true\"\n        android:layout_centerHorizontal=\"true\"\n        agv:agv_startColor=\"#FF2D55\"\n        agv:agv_endColor=\"#A542EA\"\n        agv:agv_alpha=\"1.0\"\n        agv:agv_gradient_scale=\"1.4\"\n        agv:agv_animation=\"rotation\"\n        agv:agv_duration=\"2000\"\n        agv:agv_autostart=\"false\"\n        /\u003e\n```\n\n\n## MIT License\n\nThe MIT License (MIT)\n\nCopyright (c) 2016 Sungcheol Kim, [https://github.com/skyfe79/AnimateGradientView](https://github.com/skyfe79/AnimateGradientView)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskyfe79%2Fanimategradientview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskyfe79%2Fanimategradientview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskyfe79%2Fanimategradientview/lists"}