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 - booncol/Pulsator4Droid: Pulse animation for Android

BranchesTags
Open more actions menu

Latest commit

 

History

46 Commits
46 Commits

Folders and files

NameName
Last commit message
Last commit date
config/quality
config/quality
 
 
demo
demo
 
 
gradle/wrapper
gradle/wrapper
 
 
pulsator4droid
pulsator4droid
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
CHANGELOG.md
CHANGELOG.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
build.gradle
build.gradle
 
 
demo.gif
demo.gif
 
 
gradle.properties
gradle.properties
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
settings.gradle
settings.gradle
 
 

Repository files navigation

Pulsator4Droid

API Build Status Maven Central Android Arsenal Twitter

Pulse animation for Android.

> My implementation for Flutter is also available. Take a look at Pulsator for Flutter.

Maven

<dependency>
  <groupId>pl.bclogic</groupId>
  <artifactId>pulsator4droid</artifactId>
  <version>1.0.3</version>
  <type>pom</type>
</dependency>

Gradle

compile 'pl.bclogic:pulsator4droid:1.0.3'

Usage

In layout

<pl.bclogic.pulsator4droid.library.PulsatorLayout
	android:id="@+id/pulsator"
	android:layout_width="match_parent"
	android:layout_height="match_parent"
	app:pulse_count="4"
	app:pulse_duration="7000"
	app:pulse_repeat="0"
	app:pulse_color="@color/colorAccent"
	app:pulse_startFromScratch="false"
	app:pulse_interpolator="Linear">
</pl.bclogic.pulsator4droid.library.PulsatorLayout>

Use following properties

  • pulse_count : Number of pulse circles
  • pulse_duration : Duration in milliseconds of single pulse
  • pulse_repeat : Number of pulse repeats. Zero means INFINITE
  • pulse_color : ARGB pulse color
  • pulse_startFromScratch : Set to true if animation should start from the beginning
  • pulse_interpolator: Set interpolator type used for animation. Accepted values are "Linear", "Accelerate", "Decelerate", "AccelerateDecelerate"

In activity

PulsatorLayout pulsator = (PulsatorLayout) findViewById(R.id.pulsator);
pulsator.start();

Demo

Try the demo app and change the count and duration parameters in real time.

Author

Lukasz Majda ([email protected])

Twitter URL

Inspired by iOS Pulsator library by Shuichi Tsutsumi

License

The MIT License (MIT)

Copyright (c) 2016 Lukasz Majda

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

About

Pulse animation for Android

Resources

Readme
MIT license
Activity

Stars

993 stars

Watchers

27 watching

Forks

171 forks
Report repository

Releases

Packages

Used by

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.