Questions tagged [badge]

A badge is a concise visual indication of something important to the user.

A badge is an unobtrusive notification in an application, indicating to the user a count of actionable objects that the user may wish to attend to. For example, number of new emails or unread messages.

A badge is not to be used as an urgent message requiring immediate user action, but rather assists in program flow, giving the user information about another part of the application that is not currently in focus.

867 questions
82
votes
12 answers

Notification Badge On Action Item Android

I wana add a notification badge on the cart image placed in action bar and manipulate it programmatically. Any Help?
Subrat Pani
  • 851
  • 1
  • 7
  • 8
79
votes
7 answers

How to add badge on top of Font Awesome symbol?

I would like to add badge with some number (5, 10, 100) on top of the Font Awesome symbol (fa-envelope). For example: But, I can not understand how to put the badge on top of the symbol. My attempt is available here: jsFiddle. I would like to…
LA_
  • 19,823
  • 58
  • 172
  • 308
69
votes
6 answers

How can I add a badge to a standard UIButton?

Is it possible to add a standard-looking badge to a standard UIButton? If it's not supported semi-natively, what would be the simplest way to achieve this? Example image:
ohadpr
  • 977
  • 1
  • 8
  • 16
58
votes
5 answers

Removing badge from iOS app icon

In this application that I'm trying to make, I use push notifications. This part works just fine. When I send a notification I also add a badge to the app icon. The problem is when I lunch the application it should disappear again, but it does…
thar
  • 1,094
  • 2
  • 13
  • 25
57
votes
5 answers

How does Facebook add badge numbers on app icon in Android?

I know there are several Qs here that ask if its possible to add badges to an android app and they all end up with a NO answer... But somehow the latest Facebook beta version for Android seems to do something which at least look like a badge even if…
epeleg
  • 10,347
  • 17
  • 101
  • 151
55
votes
6 answers

Is there a way to add a badge to an application icon in Android?

On the iPhone, you can add a numbered badge to the application icon. On BlackBerry, I've successfully painted an image onto the application's icon while in the program. I want to do this for Android as well. I don't want to use the notification bar,…
groomsy
  • 4,945
  • 6
  • 29
  • 33
53
votes
3 answers

How to create repository badges in gitlab?

How do I create badges for my project in gitlab? I know there is a webpage for it here https://docs.gitlab.com/ee/user/project/badges.html but I have no idea what they are saying. suppose my project is…
trial guy
  • 561
  • 1
  • 4
  • 4
51
votes
7 answers

Database Architecture for "Badge" System & Arbitrary Criteria (MySQL/PHP)

Quickie-Question: To summarize, I'm a little confused as to how I would design such a database that allows indefinite badge-rule creation without requiring structural changes to the previously existing user-tables in the database. Storing Badge…
Sampson
  • 265,109
  • 74
  • 539
  • 565
46
votes
11 answers

Attempting to badge the application icon but haven't received permission from the user to badge the application : iOS 8 Xcode 6

I am checking my app compatibility with iOS 8, I am getting following Log in console "Attempting to badge the application icon but haven't received permission from the user to badge the application" . Can anyone please help me to get rid of this…
Hemant Chittora
  • 3,152
  • 3
  • 19
  • 25
45
votes
4 answers

How to implement badges?

I've given some thought to implementing badges (just like the badges here on Stack Overflow) and think it would be difficult without Windows services, but I'd like to avoid that if possible. I came up with a plan to implement some…
Luke101
  • 63,072
  • 85
  • 231
  • 359
39
votes
5 answers

Add badge to app icon in iOS 8 with Swift

I'd like to set a badge on the icon of my app like in apple's mail app (number on top of the icon). How can I do this in Swift (iOS8)?
hans
  • 433
  • 1
  • 4
  • 7
37
votes
7 answers

How to interface with the BadgeProvider on Samsung phones to add a count to the app icon?

Samsung's TWLauncher allows apps to create badge counts on app icons. This is completely undocumented! There is no mention of it anywhere, and only a handful of apps are using it (e.g. Facebook, eBay). How do you use this functionality to add a…
Daniel Ochoa
  • 1,792
  • 1
  • 16
  • 22
36
votes
5 answers

Official badge for GitHub actions

Does GitHub have an official 'badge' for their new 'actions' feature? I came across this request on their official repo and there seems to be an official one: https://github.com/{github_id}/{repository}/workflows/{workflow_name}/badge.svg as per…
J. Doe
  • 1,291
  • 2
  • 10
  • 19
34
votes
2 answers

Best way to store Badge criteria?

I've been thinking about how to implement the badge feature similar to SO's on a new website. What is the best way to store criteria for badges? Two ideas: All code 'Second system' - create a meta architecture for defining badges and their…
Ryan Doherty
  • 38,580
  • 4
  • 56
  • 63
34
votes
4 answers

How to add a notification badge/count to application icon on Sony Xperia devices?

With Sony's Xperia Home, certain apps have the ability to display a count bubble or badge on the app icon. Facebook and Facebook Messenger both do this, as well as the built in Email app. This has been solved for Samsung's launcher, but I have not…
Marcus
  • 1,619
  • 1
  • 16
  • 22
1
2 3
57 58