{"id":20047704,"url":"https://github.com/bitvale/lightprogress","last_synced_at":"2025-09-05T19:45:05.650Z","repository":{"id":221806913,"uuid":"160228919","full_name":"bitvale/LightProgress","owner":"bitvale","description":"Android implementation of Light animation from Oleg Frolov","archived":false,"fork":false,"pushed_at":"2020-02-27T12:48:44.000Z","size":189,"stargazers_count":179,"open_issues_count":0,"forks_count":20,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-08T21:23:02.794Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/bitvale.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}},"created_at":"2018-12-03T17:29:56.000Z","updated_at":"2024-06-27T13:03:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"a1f85c78-d851-4ad3-af41-e4e09414b6da","html_url":"https://github.com/bitvale/LightProgress","commit_stats":null,"previous_names":["bitvale/lightprogress"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitvale%2FLightProgress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitvale%2FLightProgress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitvale%2FLightProgress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitvale%2FLightProgress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bitvale","download_url":"https://codeload.github.com/bitvale/LightProgress/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252480448,"owners_count":21754776,"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-13T11:37:23.742Z","updated_at":"2025-05-05T10:31:23.069Z","avatar_url":"https://github.com/bitvale.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LightProgress\n\n\u003cimg src=\"/art/preview.gif\" alt=\"sample\" title=\"sample\" width=\"320\" height=\"600\" align=\"right\" vspace=\"52\" /\u003e\n\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n[![Platform](https://img.shields.io/badge/platform-android-green.svg)](http://developer.android.com/index.html)\n[![API](https://img.shields.io/badge/API-16%2B-brightgreen.svg?style=flat)](https://android-arsenal.com/api?level=16)\n[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-LightProgress-orange.svg?style=flat)](https://android-arsenal.com/details/1/7459)\n\nCreated this cool [Light animation](https://dribbble.com/shots/5414044-Light-II) from [Oleg Frolov](https://dribbble.com/Volorf) as android library. \n\n\u003ca href=\"https://dribbble.com/shots/5649494-Light-Loading-Progress\"\u003e\n  \u003cimg alt=\"Design on Dribbble\" src=\"/art/dribbble.png\" width=\"196\" height=\"80\" /\u003e\n\u003c/a\u003e\n\n\u003ca href=\"https://android.jlelse.eu/the-power-of-android-porter-duff-mode-28b99ade45ec\"\u003e\n  \u003cimg alt=\"Read on Medium\" src=\"/art/medium.png\" width=\"196\" height=\"80\" hspace=\"15\" /\u003e\n\u003c/a\u003e\n\nUSAGE\n-----\n\nJust add LightProgress view in your layout XML and LightProgress library in your project via Gradle:\n\n```gradle\ndependencies {\n  implementation 'com.bitvale:lightprogress:1.0.1'\n}\n```\n\nXML\n-----\n\n```xml\n\u003ccom.bitvale.lightprogress.LightProgress\n    android:id=\"@+id/light\"\n    android:layout_width=\"wrap_content\"\n    android:layout_height=\"wrap_content\"\n    android:textSize=\"@dimen/text_size\"\n    android:textColor=\"@color/text_color\"\n    android:text=\"@string/light_text\"\n    app:light_color=\"@color/light_color\"/\u003e\n```\n\nYou must use the following properties in your XML to change your PacButton.\n\n\n##### Properties:\n\n* `android:text`                    (string)    -\u003e default  \"Loading\"\n* `android:textSize`                (dimension) -\u003e default  56sp\n* `android:textColor`               (color)     -\u003e default  #484848\n* `app:light_color`                 (color)     -\u003e default  #FFFFFF\n\nKotlin\n-----\n\n```kotlin\nlight.setOnClickListener {\n    if (!light.isOn()) light.on()\n    else light.off()\n}\n```\n\nLICENCE\n-----\n\nLightProgress by [Alexander Kolpakov](https://play.google.com/store/apps/dev?id=7044571013168957413) is licensed under an [Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitvale%2Flightprogress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitvale%2Flightprogress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitvale%2Flightprogress/lists"}