{"id":23101425,"url":"https://github.com/poppsya/fillingbutton","last_synced_at":"2026-03-14T03:01:56.947Z","repository":{"id":143525670,"uuid":"178132056","full_name":"PopPsyA/FillingButton","owner":"PopPsyA","description":"🔥Replace typical onLongClickListener with this library!","archived":false,"fork":false,"pushed_at":"2019-05-22T05:47:12.000Z","size":130,"stargazers_count":36,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-26T01:04:15.833Z","etag":null,"topics":["android","android-button","android-custom-view","android-library","android-ui","android-widget","androidstudio","button","custombutton","customview","kotlin","kotlin-android","kotlin-language","kotlin-lib","kotlin-library","library","view"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/PopPsyA.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}},"created_at":"2019-03-28T05:24:55.000Z","updated_at":"2025-01-11T05:45:49.000Z","dependencies_parsed_at":"2023-07-19T04:04:24.873Z","dependency_job_id":null,"html_url":"https://github.com/PopPsyA/FillingButton","commit_stats":null,"previous_names":["poppsya/fillingbutton","devit951/fillingbutton"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/PopPsyA/FillingButton","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PopPsyA%2FFillingButton","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PopPsyA%2FFillingButton/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PopPsyA%2FFillingButton/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PopPsyA%2FFillingButton/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PopPsyA","download_url":"https://codeload.github.com/PopPsyA/FillingButton/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PopPsyA%2FFillingButton/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261978910,"owners_count":23239417,"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-button","android-custom-view","android-library","android-ui","android-widget","androidstudio","button","custombutton","customview","kotlin","kotlin-android","kotlin-language","kotlin-lib","kotlin-library","library","view"],"created_at":"2024-12-16T23:51:49.703Z","updated_at":"2026-03-14T03:01:56.881Z","avatar_url":"https://github.com/PopPsyA.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FillingButton\n[![Android Arsenal]( https://img.shields.io/badge/Android%20Arsenal-FillingButton-green.svg?style=flat )]( https://android-arsenal.com/details/1/7598 )\n[![jitpack badge](https://jitpack.io/v/Devit951/FillingButton.svg)](https://jitpack.io/#Devit951/FillingButton)\n[![badge android platform](https://camo.githubusercontent.com/4e7c3559fec3db6e04cd6d800d00fe6515f75260/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f706c6174666f726d2d616e64726f69642d627269676874677265656e2e737667)](https://developer.android.com/)\n[![API 16+](https://img.shields.io/badge/API-16%2B-orange.svg?style=flat)](https://android-arsenal.com/api?level=16)\n[![GitHub license](https://img.shields.io/github/license/dcendents/android-maven-gradle-plugin.svg)](http://www.apache.org/licenses/LICENSE-2.0.html) \n\n![Build with love](https://forthebadge.com/images/badges/built-with-love.svg)\n\nReplace typical onLongClickListener with that library! **It's the new way to handle onLongClickListener on buttons.**\n\n# Sample\n![20190328_105032](https://user-images.githubusercontent.com/21290800/55136168-8492f300-514f-11e9-82dd-2edc218a2e90.gif)\n\n# Added new type of button **InternetSensableFillingButton**\n![20190427_124552](https://user-images.githubusercontent.com/21290800/56846643-10cd3d00-68eb-11e9-883c-f95484056790.gif)\n\n# Added directions of filling, here is first and the third button has RightToLeftDirection:\n![20190516_105414](https://user-images.githubusercontent.com/21290800/57829847-b7f61380-77c9-11e9-8d5c-3b8f9e67d9f6.gif)\n\n# First FillingButton has TopToBottomFillingDirection and second FilligButton has BottomToTopFillingDirection\n![20190521_105157](https://user-images.githubusercontent.com/21290800/58071581-9c6a7e80-7bb6-11e9-8a6e-516d015cd232.gif)\n\n\n## Usage a simple FillingButton\n```\n \u003ccom.github.devit951.fillingbutton.FillingButton\n        android:id=\"@+id/fb_first\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"wrap_content\"\n        android:text=\"BUTTON\"\n        android:background=\"@color/colorAccent\"\n        app:fillColor=\"@color/colorPrimaryDark\"\n        app:fillDuration=\"500\"/\u003e\n```\n\n## Usage a simple InternetSensableFillingButton\n\n```\n \u003ccom.github.devit951.fillingbutton.InternetSensableFillingButton\n        android:id=\"@+id/fb_first\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"wrap_content\"\n        android:text=\"BUTTON\"\n        android:background=\"@color/colorAccent\"\n        app:fillColor=\"@color/colorPrimaryDark\"\n        app:fillDuration=\"500\"/\u003e\n```\n\n## Using FillingButton fill directions\nYou can change these directions in runtime.\n```\nfillingButton.direction = RightToLeftFillingDirection();\nfillingButton.direction = LeftToRightFillingDirection();\nfillingButton.direction = TopToBottomFillingDirection();\nfillingButton.direction = BottomToTopFillingDirection();\n```\n\n## List of xml attributes: \n```\napp:fillColor=(color) -\u003e Changes foreground color of filling\napp:fillAlpha=(integer) -\u003e Changes alpha of foreground color filling\napp:fillDuration=(integer) -\u003e Changes fill animation duration\n```\n\n## Setup\n```\nallprojects {\n  repositories { \n    maven { url 'https://jitpack.io' } \n  }\n}\n  \ndependencies {  \n  implementation 'com.github.Devit951:FillingButton:1.2'\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpoppsya%2Ffillingbutton","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpoppsya%2Ffillingbutton","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpoppsya%2Ffillingbutton/lists"}