Skip to content

Commit c46cb0b

Browse files
committed
Change drawable example
1 parent 2cf6c1d commit c46cb0b

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

demo/src/main/java/com/minibugdev/drawablebadge/demo/DemoActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class DemoActivity : AppCompatActivity() {
2424

2525
private fun drawBadge(number: Int, position: BadgePosition) {
2626
DrawableBadge.Builder(applicationContext)
27-
.drawableResId(R.mipmap.ic_launcher_round)
27+
.drawableResId(R.mipmap.ic_launcher)
2828
.badgeColor(R.color.badgeColor)
2929
.badgeSize(R.dimen.badge_size)
3030
.badgePosition(position)

demo/src/main/res/layout/activity_demo.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
android:layout_width="wrap_content"
1212
android:layout_height="wrap_content"
1313
android:layout_margin="48dp"
14-
android:src="@mipmap/ic_launcher_round" />
14+
android:src="@mipmap/ic_launcher" />
1515

1616
<Button
1717
android:id="@+id/buttonTopLeft"

screenshot.png

2.35 KB
Loading

0 commit comments

Comments
 (0)