{"id":13418829,"url":"https://github.com/jgilfelt/android-viewbadger","last_synced_at":"2025-05-15T13:05:12.602Z","repository":{"id":1729543,"uuid":"2471372","full_name":"jgilfelt/android-viewbadger","owner":"jgilfelt","description":"[DEPRECATED] A simple way to \"badge\" any given Android view at runtime without having to cater for it in layout","archived":false,"fork":false,"pushed_at":"2015-08-28T07:48:08.000Z","size":297,"stargazers_count":3012,"open_issues_count":17,"forks_count":1026,"subscribers_count":219,"default_branch":"master","last_synced_at":"2025-04-14T20:58:30.793Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"kanaka/noVNC","license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jgilfelt.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-09-27T22:50:57.000Z","updated_at":"2025-02-02T03:56:57.000Z","dependencies_parsed_at":"2022-09-10T16:52:19.828Z","dependency_job_id":null,"html_url":"https://github.com/jgilfelt/android-viewbadger","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgilfelt%2Fandroid-viewbadger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgilfelt%2Fandroid-viewbadger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgilfelt%2Fandroid-viewbadger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgilfelt%2Fandroid-viewbadger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jgilfelt","download_url":"https://codeload.github.com/jgilfelt/android-viewbadger/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254346624,"owners_count":22055808,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-30T22:01:07.617Z","updated_at":"2025-05-15T13:05:12.580Z","avatar_url":"https://github.com/jgilfelt.png","language":"Java","funding_links":[],"categories":["Java","Libs","etc"],"sub_categories":["\u003cA NAME=\"Widget\"\u003e\u003c/A\u003eWidget"],"readme":"Android ViewBadger\n==================\n\nA simple way to \"badge\" any given Android view at runtime without having to cater for it in layout.\n\n![Demos](http://www.jeffgilfelt.com/viewbadger/vb-1a.png \"Demos\")\u0026nbsp;\n![ListAdapter](http://www.jeffgilfelt.com/viewbadger/vb-2a.png \"ListAdapter\")\n\nNote: If your aim is to replicate the iOS icon and TabBar badge UI for notifications, consider using Android UI conventions such as the number field of the [Notification](http://developer.android.com/reference/android/app/Notification.html \"Notification\") class rather than this method.\n\nUsage\n-----\n\nSimple example:\n\n    View target = findViewById(R.id.target_view);\n    BadgeView badge = new BadgeView(this, target);\n    badge.setText(\"1\");\n    badge.show();\n\nThis project contains a fully working example application. Refer to the `DemoActivity` class for more custom badge examples, including custom backgrounds and animations. `BadgeView` is a subclass of `TextView` so you can use all of `TextView`'s methods to style the appearance of your badge.\n\nTo use ViewBadger in your own Android project, simply copy `android-viewbadger.jar` (available from this repository's package downloads) into your project's `/libs` directory and add it to the build path.\n\nCurrent Limitations\n-------------------\n\n- Badging Action Bar items is currently not supported [#2](https://github.com/jgilfelt/android-viewbadger/issues/2)\n- Badging views inside RelativeLayout with dependencies may break alignment [#1](https://github.com/jgilfelt/android-viewbadger/issues/1)\n\nCredits\n-------\n\nAuthor: Jeff Gilfelt\n\nThe code in this project is licensed under the Apache Software License 2.0.\n\u003cbr /\u003e\nCopyright (c) 2011 readyState Software Ltd.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjgilfelt%2Fandroid-viewbadger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjgilfelt%2Fandroid-viewbadger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjgilfelt%2Fandroid-viewbadger/lists"}