All Projects β†’ elevenetc β†’ Badgeview

elevenetc / Badgeview

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

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Badgeview

Fastadapter
The bullet proof, fast and easy to use adapter library, which minimizes developing time to a fraction...
Stars: ✭ 3,512 (+707.36%)
Mutual labels:  android-ui
Pudding
🌟 Pudding use WindowManager(don't need request permission) to pull down a view that are displayed on top their attached window
Stars: ✭ 371 (-14.71%)
Mutual labels:  android-ui
Scrollingpagerindicator
Pager indicator inspired by Instagram. Lightweight and easy to set up.
Stars: ✭ 419 (-3.68%)
Mutual labels:  android-ui
Doublelift
πŸ¦‹ Expands and collapses a layout horizontally and vertically sequentially.
Stars: ✭ 343 (-21.15%)
Mutual labels:  android-ui
Indicatorscrollview
πŸ§€ A dynamic scroll view that animates indicators according to its scroll position.
Stars: ✭ 355 (-18.39%)
Mutual labels:  android-ui
Cornercutlinearlayout
Linear Layout that allow corner (parent and children) cuts, complex shadow and divider.
Stars: ✭ 391 (-10.11%)
Mutual labels:  android-ui
Oneadapter
A Viewholderless Adapter for RecyclerView, who supports builtin diffing, states (paging, empty...), events (clicking, swiping...), and more.
Stars: ✭ 321 (-26.21%)
Mutual labels:  android-ui
Ticker
An Android text view with scrolling text change animation
Stars: ✭ 4,194 (+864.14%)
Mutual labels:  android-ui
Themed Toggle Button Group
Customisable toggle buttons inside a FlexboxLayout.
Stars: ✭ 357 (-17.93%)
Mutual labels:  android-ui
Material Progressview
πŸ”₯A beautiful, gradual and simple used progress view for android.
Stars: ✭ 406 (-6.67%)
Mutual labels:  android-ui
Recyclerstickyheaderview
Sticky header view or suspending view for RecyclerView.
Stars: ✭ 347 (-20.23%)
Mutual labels:  android-ui
Awesome Android Ui
😎 A curated list of awesome Android UI/UX libraries
Stars: ✭ 353 (-18.85%)
Mutual labels:  android-ui
Viewpagerbottomsheet
Use ViewPagers in Bottom Sheets!
Stars: ✭ 393 (-9.66%)
Mutual labels:  android-ui
Stacklayoutmanager
customized layoutmanager,let item pile up like stackview/η±»δΌΌζœ€ηΎŽζœ‰η‰©ε‘η‰‡ε †ε ζ•ˆζžœ
Stars: ✭ 343 (-21.15%)
Mutual labels:  android-ui
Avatarview
A circular Image View with a lot of perks. Including progress animation and highlight state with borders and gradient color.
Stars: ✭ 429 (-1.38%)
Mutual labels:  android-ui
Expenso
πŸ“Š A Minimal Expense Tracker App built to demonstrate the use of modern android architecture component with MVVM Architecture
Stars: ✭ 325 (-25.29%)
Mutual labels:  android-ui
Loginui Android
Login User Interface in android with innovative, beautiful and creative background πŸ˜ŠπŸ˜ŠπŸ˜‰
Stars: ✭ 374 (-14.02%)
Mutual labels:  android-ui
Simple View Behavior
Simple and easy way to deal with CoordinatorLayout Behavior
Stars: ✭ 434 (-0.23%)
Mutual labels:  android-ui
Treeview
An android tree structure view with high performance and rich features
Stars: ✭ 429 (-1.38%)
Mutual labels:  android-ui
Drawer Behavior
Drawer behavior is a library that provide an extra behavior on drawer, such as, move view or scaling view's height while drawer on slide.
Stars: ✭ 394 (-9.43%)
Mutual labels:  android-ui

BadgeView

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

animation

Usage

<su.levenetc.android.badgeview.BadgeView
  android:layout_width="wrap_content"
  android:layout_height="wrap_content"
  app:badgeText="Hello!" />
BadgeView badgeView = new BadgeView(this);
badgeView.setValue(R.string.hello);

XML attributes

<attr name="badgeText" format="string"/>
<attr name="badgeBitmap" format="reference"/>
<attr name="badgeBackgroundColor" format="color"/>
<attr name="badgeTextColor" format="color"/>
<attr name="badgeTextSize" format="dimension"/>
<attr name="badgePadding" format="dimension"/>
<attr name="badgeAnimationDuration" format="integer"/>

Animations

To show values sequentially use setValues method:

Bitmap bitmapX;
badgeView.setValues(0, 1, bitmapX, 3, "How are you?");

To define partucular delay for each value use helper class BadgeView.AnimationSet:

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].