Skip to content

Latest commit

 

History

History
37 lines (32 loc) · 899 Bytes

README.md

File metadata and controls

37 lines (32 loc) · 899 Bytes

milad badge view

badge view for android Demos  Demos


simple and useful


Install

Add it in your root build.gradle at the end of repositories:

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

Add the dependency

	dependencies {
	        compile 'com.github.miladheydari:MiladBadgeView:1.1.0'
	}

or download https://github.com/miladheydari/MiladBadgeView/blob/master/miladbadgeview/release/MiladBadgeView.jar and copy to libs project folder.

usage

TextView tv=(TextView)findViewById(R.id.tv);
MiladBadgeView mbv=new MiladBadgeView(getActivity());
mbv.setTarget(tv);
mbv.setText("1");