{"id":21739790,"url":"https://github.com/elevenetc/badgeview","last_synced_at":"2025-03-31T06:09:00.670Z","repository":{"id":75010117,"uuid":"41707789","full_name":"elevenetc/BadgeView","owner":"elevenetc","description":"Badge view with animated effect which shows a bitmap or a text","archived":false,"fork":false,"pushed_at":"2015-09-21T01:09:56.000Z","size":1898,"stargazers_count":445,"open_issues_count":8,"forks_count":89,"subscribers_count":19,"default_branch":"master","last_synced_at":"2025-03-24T04:11:35.181Z","etag":null,"topics":["android","android-library","android-ui","animation"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/elevenetc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-09-01T00:32:32.000Z","updated_at":"2025-02-15T07:45:41.000Z","dependencies_parsed_at":"2023-03-13T20:16:39.168Z","dependency_job_id":null,"html_url":"https://github.com/elevenetc/BadgeView","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elevenetc%2FBadgeView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elevenetc%2FBadgeView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elevenetc%2FBadgeView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elevenetc%2FBadgeView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elevenetc","download_url":"https://codeload.github.com/elevenetc/BadgeView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246423731,"owners_count":20774820,"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":["android","android-library","android-ui","animation"],"created_at":"2024-11-26T06:10:40.003Z","updated_at":"2025-03-31T06:09:00.652Z","avatar_url":"https://github.com/elevenetc.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BadgeView\nBadge view with animated effect which shows a bitmap or a text.\n\n![animation](docs/badgeview-spongebob.gif)\n### Usage \n```XML\n\u003csu.levenetc.android.badgeview.BadgeView\n  android:layout_width=\"wrap_content\"\n  android:layout_height=\"wrap_content\"\n  app:badgeText=\"Hello!\" /\u003e\n```\n```Java\nBadgeView badgeView = new BadgeView(this);\nbadgeView.setValue(R.string.hello);\n```\n### XML attributes\n```XML\n\u003cattr name=\"badgeText\" format=\"string\"/\u003e\n\u003cattr name=\"badgeBitmap\" format=\"reference\"/\u003e\n\u003cattr name=\"badgeBackgroundColor\" format=\"color\"/\u003e\n\u003cattr name=\"badgeTextColor\" format=\"color\"/\u003e\n\u003cattr name=\"badgeTextSize\" format=\"dimension\"/\u003e\n\u003cattr name=\"badgePadding\" format=\"dimension\"/\u003e\n\u003cattr name=\"badgeAnimationDuration\" format=\"integer\"/\u003e\n```\n### Animations\nTo show values sequentially use `setValues` method:\n```Java\nBitmap bitmapX;\nbadgeView.setValues(0, 1, bitmapX, 3, \"How are you?\");\n```\nTo define partucular delay for each value use helper class `BadgeView.AnimationSet`:\n```Java\nnew BadgeView.AnimationSet(badgeView)\n  .add(\"Hi!\", 1000)\n  .add(\"How are you?\", 1200)\n  .add(\"Im fine!\", 1500)\n  .play();\n```\n### Download\n```Groovy\nrepositories {\n    maven { url \"https://jitpack.io\" }\n}\n//...\ndependencies {\n    //...\n    compile 'com.github.elevenetc:badgeview:v1.0.0'\n}\n```\n### Licence\nhttp://www.apache.org/licenses/LICENSE-2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felevenetc%2Fbadgeview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felevenetc%2Fbadgeview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felevenetc%2Fbadgeview/lists"}