GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - bitvale/LightProgress: Android implementation of Light animation from Oleg Frolov

BranchesTags
Open more actions menu

Latest commit

 

History

4 Commits
4 Commits

Folders and files

NameName
Last commit message
Last commit date
art
art
 
 
demo
demo
 
 
gradle/wrapper
gradle/wrapper
 
 
library
library
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
build.gradle
build.gradle
 
 
gradle.properties
gradle.properties
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
settings.gradle
settings.gradle
 
 

Repository files navigation

LightProgress

sample

License Platform API Android Arsenal

Created this cool Light animation from Oleg Frolov as android library.

Design on Dribbble Read on Medium

USAGE

Just add LightProgress view in your layout XML and LightProgress library in your project via Gradle:

dependencies {
  implementation 'com.bitvale:lightprogress:1.0.1'
}

XML

<com.bitvale.lightprogress.LightProgress
    android:id="@+id/light"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:textSize="@dimen/text_size"
    android:textColor="@color/text_color"
    android:text="@string/light_text"
    app:light_color="@color/light_color"/>

You must use the following properties in your XML to change your PacButton.

Properties:
  • android:text (string) -> default "Loading"
  • android:textSize (dimension) -> default 56sp
  • android:textColor (color) -> default #484848
  • app:light_color (color) -> default #FFFFFF

Kotlin

light.setOnClickListener {
    if (!light.isOn()) light.on()
    else light.off()
}

LICENCE

LightProgress by Alexander Kolpakov is licensed under an Apache License 2.0.

About

Android implementation of Light animation from Oleg Frolov

Resources

Readme
Activity

Stars

181 stars

Watchers

2 watching

Forks

20 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.