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
0
votes
3 answers

cant get rid of app icons badge number

For some reason, my app has icon badge of 7 but I have not coded this part of the code and can't seem to get rid of this number. How can I get rid of it or where can I manipulate with this object?
user3513175
  • 53
  • 1
  • 4
0
votes
1 answer

android.view.ViewRoot$CalledFromWrongThreadException in badge view

I am create an app which is get the notify count from server, that service part working fine. In that count i was showed in badge view this also fine. when i click the badgeview that time i have the issue followed Logcat 04-09 10:46:11.741:…
Pandiyan Muthu
  • 1,040
  • 4
  • 21
  • 39
0
votes
2 answers

Mimicking a jquery hide from an MVC controller

I have a numerical "badge" value that I'm trying to display on a menu in my MVC 5.1 app. @SessionData.MyCount I have a SessionData class so I don't have to pass around magic strings. public class…
Rethic
  • 1,054
  • 4
  • 21
  • 36
0
votes
2 answers

Icon Badges are not incrementing?

For some reason Badge Numbers are not being incremented in my app I tried [UIApplication sharedApplication].applicationIconBadgeNumber = [UIApplication sharedApplication].applicationIconBadgeNumber + 1; and also: [UIApplication…
user3205189
0
votes
2 answers

Badge number won't clear

I'm not sure what I changed in my app, but Im not able to clear the badges number anymore. I put code the following code: [[UIApplication sharedApplication] setApplicationIconBadgeNumber:0]; in: - (BOOL)application:(UIApplication *)application …
user3205189
0
votes
1 answer

Rails 4 : basic use of Merit gem with Devise

Using the merit gem, I want to create a Pioneer badge for the first 100 users of my app. The code in merit.rb Merit::Badge.create!( id: 1, name: 'Pioneer', description: "Belongs to the 100 first users of the site", image:…
Ruff9
  • 1,163
  • 15
  • 34
0
votes
2 answers

iOS 7 UIButton alignment

I'm trying to make custom badge. For that I make subclass of UIButton and remake - (void)drawRect:(CGRect)rect like this: - (void)drawRect:(CGRect)rect { self.titleLabel.font = [UIFont systemFontOfSize:12]; [self…
Maria
  • 755
  • 1
  • 11
  • 29
0
votes
0 answers

How to show Badge in TabHost

This is my MainActivity.java: public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main_activity); Resources ressources = getResources(); TabHost tabHost = getTabHost(); …
0
votes
2 answers

iOS - Application Badge Disappears When Opened

I currently have an application that receives the correct badge number via push notification. The backend server keeps track of the number of unread updates and sends the number in a push notification when an event happens. The application badge…
ScottOBot
  • 839
  • 3
  • 16
  • 37
0
votes
1 answer

How to define trigger conditions within a ActiveRecord object?

I'd like to implement a badge system; the user gains badges when doing stuff like "asking questions", "voting"... However, I'm searching for a solution to define conditions to grant badges. One solution would be that I use an observer model to…
sn3ek
  • 1,929
  • 3
  • 22
  • 32
0
votes
2 answers

android Add Badge on Expandablelistview

I don't know how we can add Badge in ExpandableListView. I searched some keywords but no result talk about this. So I post picture and want to know this may occur? Thanks for supports.
0
votes
1 answer

How to change the size of the BadgeText in sencha touch

i Have tried of badgeCls, but it doesnt affect the badgetext, the badge text is shown along side in my button
chandru
  • 11
  • 2
0
votes
1 answer

Chrome Extension Badge Color External Website Javascript Change

Before the manifest change, the extension read a simple .js file written on my site every 5 minutes to tell what color to make the badge. It would change in response to alerts. This manifest has me flummoxed. The request:
user1592458
0
votes
3 answers

android draw circle badge on top on bitmap

I want to add a badge with the number of pending events above the menu icon of the application, but as you can see in the image below I have some problems. I'm unable to make the circle opaque, I don't want to see the grey lines behind the circle…
nirvik
  • 386
  • 2
  • 5
  • 18
0
votes
3 answers

Badge icon partially disappearing when number is < 1

I'm using a badge icon to display the number of cart items. It works great when the number is 1 or more but if there are no items in the cart, it doesn't display zero, but rather half of it disappears. I've posted screenshots of what it looks like…
Zipotontic
  • 508
  • 1
  • 5
  • 15