{"id":21130323,"url":"https://github.com/siriscac/RippleView","last_synced_at":"2025-07-09T01:33:10.430Z","repository":{"id":20523869,"uuid":"23802879","full_name":"siriscac/RippleView","owner":"siriscac","description":"View that imitates Ripple Effect on click which was introduced in Android L  (for Android 2.3+)","archived":false,"fork":false,"pushed_at":"2017-04-18T10:30:21.000Z","size":1049,"stargazers_count":1152,"open_issues_count":13,"forks_count":285,"subscribers_count":45,"default_branch":"master","last_synced_at":"2024-10-29T10:55:09.886Z","etag":null,"topics":["android","android-library","android-ui","java","ripple","rippleview"],"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/siriscac.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}},"created_at":"2014-09-08T18:28:27.000Z","updated_at":"2024-09-20T13:31:39.000Z","dependencies_parsed_at":"2022-08-30T18:21:08.875Z","dependency_job_id":null,"html_url":"https://github.com/siriscac/RippleView","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/siriscac%2FRippleView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siriscac%2FRippleView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siriscac%2FRippleView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siriscac%2FRippleView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/siriscac","download_url":"https://codeload.github.com/siriscac/RippleView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225444760,"owners_count":17475353,"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","android-library","android-ui","java","ripple","rippleview"],"created_at":"2024-11-20T05:32:36.390Z","updated_at":"2024-11-20T05:32:44.244Z","avatar_url":"https://github.com/siriscac.png","language":"Java","readme":"[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-RippleView-brightgreen.svg?style=flat)](https://android-arsenal.com/details/1/923)\n\n# RippleView\n\nView that imitates Ripple Effect on click which was introduced in Android L.\n\n![Sample Screenshot](https://raw.github.com/siriscac/RippleView/master/Screens/Screen.gif)\n\n# Usage\n\n*For a working implementation, Have a look at the Sample Project - RippleViewExample*\n\n1. Include the library as local library project.\n\n2. Include the RippleView widget in your layout.\n\n    ```xml\n    \u003ccom.indris.material.RippleView\n            android:id=\"@+id/btn\"\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"match_parent\"\n            ripple:alphaFactor=\"0.7\"\n            ripple:rippleColor=\"#58FAAC\" \u003e\n    \u003c/com.indris.material.RippleView\u003e\n    ```\n    \n3. In your `onCreate` method refer to the View and add 'OnClickListener' for the same.\n\n    ```java    \n    mButton = (RippleView) findViewById(R.id.btn);\n    mButton.setOnClickListener(new View.OnClickListener() {\n\t\t@Override\n\t\tpublic void onClick(View v) {\n\t\t\t//your code\n\t\t}\n    });\n    ```\n       \n# Customization\n\nThere are three attributes which are applicable to `RippleView`.\n\n  * `rippleColor` Color of the Ripple\n  * `alphaFactor` Opacity of the Ripple\n  * `hover` Hover effect on the button\n  \n  * You can also set these attributes from your java code by calling `setRippleColor(rippleColor, alphaFactor)` and `setHover(enabled)` respectively.\n\n# Compatibility\n  \n  * Android GingerBread 2.3+\n  \n# Changelog\n\n### Current Version: 1.2\n\n  * Added option to enable or disable Hover\n  * Added GingerBread Support\n  * Bug fixes\n   \n### Version: 1.1\n\n  * Improved Animation\n  * Added Hover Effect (Thanks to [YangHui](https://github.com/kyze8439690))\n  \n### Version: 1.0\n\n  * Initial Build\n  \n# Author\n\n  * Muthuramakrishnan - \u003csiriscac@gmail.com\u003e\n\n### Credits\n  \n  * [Niek Haarman](https://github.com/nhaarman)\n  \n# License\n\n    Copyright 2014 Muthuramakrishnan\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","funding_links":[],"categories":["Libs","\u003ca name=\"Ripple\"\u003eRipple\u003c/a\u003e"],"sub_categories":["\u003cA NAME=\"Widget\"\u003e\u003c/A\u003eWidget","Personal Blog"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiriscac%2FRippleView","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsiriscac%2FRippleView","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiriscac%2FRippleView/lists"}