프로젝트
GitHub에서 보기
elevenetc/BadgeView
elevenetc/BadgeView has 442 GitHub stars and 87 forks. GitHot measured 0 stars in 24 hours and 0 in 7 days. Last checked 2026-11-24 07:36 UTC. Last push 2015-09-21.
측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 기록 수집 중
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
소개
Badge view with animated effect which shows a bitmap or a text
창작 및 미디어README.md
OriginalBadgeView
Badge view with animated effect which shows a bitmap or a text.

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
관련 프로젝트 살펴보기
불러오는 중…