Skip to content

liefery-it-legacy/android-icon-badge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Android Icon Badge

A simple badge widget to display numbers and shapes

Sample app screenshot

Installation

sbt

resolvers += "jitpack" at "https://jitpack.io"

libraryDependencies += "com.github.liefery" % "android-icon-badge" % "1.4.0"

Gradle

allprojects {
    repositories {
        ...
        maven { url "https://jitpack.io" }
    }
}

dependencies {
    compile 'com.github.liefery:android-icon-badge:1.4.0'
}

Usage

<com.liefery.android.icon_badge.IconBadgeView
    android:layout_width="50dp"
    android:layout_height="50dp"
    android:elevation="3dp"
    app:iconBadge_backgroundShapeColor="#4c8c4a"
    app:iconBadge_foregroundShapeColor="#003300"
    app:iconBadge_number="123" />

Please have a look at the sample application for more details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •