What about the prompt style that Android pops up like WeChat?

This is an example, but it should be modified according to the size of your project.

badge view badge view = new badge view(this);

badge view . settargetview(textView); //Set which control displays the digital reminder. This parameter is a view object.

badge view . setbadgecount(3); //Set the number of reminders.

//setBackgroundColor()-& gt; Set the background color of badgeview and, of course, the background picture.

//setBackgroundResource()-& gt; Set the background picture

badge view . set background( 12,color . parse color(" # 9 B2 eef ")); //Set the background picture

badge view . settext(" hint ");

badge view . setbadgegravity(Gravity。 Bottom | gravity. Center); //Set the display position

badge view . set Typeface(Typeface . create(Typeface。 Sans serif fonts. Italic)); //Set the displayed font.

badgeView.setShadowLayer(2,- 1,- 1,Color。 Green); //Set the shadow of the font