BadgeView

by elevenetc

elevenetc /BadgeView

Badge view with animated effect which shows a bitmap or a text

435 Stars 90 Forks Last release: about 5 years ago (v1.0.0) 8 Commits 1 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

BadgeView

Badge view with animated effect which shows a bitmap or a text.

animation

Usage

BadgeView badgeView = new BadgeView(this);
badgeView.setValue(R.string.hello);

XML attributes





Animations

To show values sequentially use

setValues
method:
Java
Bitmap bitmapX;
badgeView.setValues(0, 1, bitmapX, 3, "How are you?");
To define partucular delay for each value use helper class
BadgeView.AnimationSet
:
Java
new BadgeView.AnimationSet(badgeView)
  .add("Hi!", 1000)
  .add("How are you?", 1200)
  .add("Im fine!", 1500)
  .play();

Download

repositories {
    maven { url "https://jitpack.io" }
}
//...
dependencies {
    //...
    compile 'com.github.elevenetc:badgeview:v1.0.0'
}

Licence

http://www.apache.org/licenses/LICENSE-2.0

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.