{"id":22763969,"url":"https://github.com/andyb129/beerprogressview","last_synced_at":"2025-04-13T11:02:18.180Z","repository":{"id":57743555,"uuid":"58495638","full_name":"andyb129/BeerProgressView","owner":"andyb129","description":"A library that lets you create a beer styled progress view with bubbles and all! (hic) :beer:","archived":false,"fork":false,"pushed_at":"2018-04-03T08:57:17.000Z","size":3339,"stargazers_count":240,"open_issues_count":3,"forks_count":40,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-17T14:09:24.980Z","etag":null,"topics":["android","beer","bubble","gradle","loading-animations","progress-bar"],"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/andyb129.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":"2016-05-10T21:47:54.000Z","updated_at":"2025-02-03T19:26:34.000Z","dependencies_parsed_at":"2022-08-25T22:40:24.025Z","dependency_job_id":null,"html_url":"https://github.com/andyb129/BeerProgressView","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/andyb129%2FBeerProgressView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andyb129%2FBeerProgressView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andyb129%2FBeerProgressView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andyb129%2FBeerProgressView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andyb129","download_url":"https://codeload.github.com/andyb129/BeerProgressView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245767356,"owners_count":20668826,"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","beer","bubble","gradle","loading-animations","progress-bar"],"created_at":"2024-12-11T11:13:23.142Z","updated_at":"2025-03-27T02:12:05.629Z","avatar_url":"https://github.com/andyb129.png","language":"Java","readme":"# Beer Progress View \n[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-BeerProgressView-green.svg?style=true)](https://android-arsenal.com/details/1/3594)\n\u003cbr\u003e\u003ca href=\"http://www.methodscount.com/?lib=uk.co.barbuzz%3Abeerprogressview%3A0.0.4\"\u003e\u003cimg src=\"https://img.shields.io/badge/Methods and size-core: 109 | deps: 929 | 10 KB-e91e63.svg\"/\u003e\u003c/a\u003e\n\nA cool beer styled progress view with realistic bubbles*.  Cheers!\n\n* Increment progress.\n* Change beer colour.\n* Change wave size.\n* Change bubble colour.\n* Change bubble count\n\n(*realism of bubbles not guaranteed)\n\n\u003cp\u003e\n\u003ca href=\"https://play.google.com/store/apps/details?id=uk.co.barbuzz.beerprogressview.sample\"\u003e\u003cimg src=\"https://github.com/andyb129/BeerProgressView/blob/master/screenshots%2Fgoogle_play_badge.png\" height=\"80\" width=\"210\" alt=\"BeerProgressView\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003cp\u003e\n\u003cimg src=\"https://github.com/andyb129/BeerProgressView/blob/master/screenshots%2Fbeer_progress_view_anim.gif\" height=\"600\" alt=\"BeerProgressView\"/\u003e\n\u003c/p\u003e\n  \n\u003c!--![optional caption text](screenshots/beer_progress_view_anim.gif)--\u003e\n\n### Setup\nTo use **BeerProgressView** in your projects, simply add the library as a dependency to your build.\n\n##### Gradle\n```\ndependencies {\n  compile 'uk.co.barbuzz:beerprogressview:0.0.6'\n}\n```\n\n##### Maven\n```\n\u003cdependency\u003e\n  \u003cgroupId\u003euk.co.barbuzz.beerprogressview\u003c/groupId\u003e\n  \u003cartifactId\u003ebeerprogressview\u003c/artifactId\u003e\n  \u003cversion\u003e0.0.6\u003c/version\u003e\n  \u003ctype\u003epom\u003c/type\u003e\n\u003c/dependency\u003e\n```\n\nAlternatively you can directly import the /library project into your Android Studio project and add it as a dependency in your build.gradle.\n\nThe library is currently configured to be built via Gradle only. It has the following dependencies:\n\n* Nine old androids         - com.nineoldandroids:library:2.4.0\n* Compiled SDK Version      - lollipop-23\n* Minimum SDK Version       - \u003e= Gingerbread-10\n\n### Usage\nFor more detailed code example to use the library, Please refer to the `/sample` app.\n\n`BeerProgressView` can be added as a custom view to any layout.\n\n```\n\u003cuk.co.barbuzz.beerprogressview.BeerProgressView\n        android:id=\"@+id/beerProgressView\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\"\n        app:beerColor=\"#EFA601\"\n        app:bubbleColor=\"#B67200\"\n        app:bubbleCount=\"12\"\n        app:beerProgress=\"0\"\n        app:waveMax=\"100\"\n        app:waveAmplitude=\"3dp\"/\u003e\n```\n\nYou can then either set the xml parameters to configure the view or do it programmatically as follows\n```\nBeerProgressView beerProgressView = (BeerProgressView) findViewById(R.id.beerProgressView);\nbeerProgressView.setBeerColor(ContextCompat.getColor(mActivity, R.color.lager));\nbeerProgressView.setBubbleColor(ContextCompat.getColor(mActivity, R.color.lager_bubble));\nbeerProgressView.setBubbleCount(12);\nbeerProgressView.setMax(100);\nbeerProgressView.setAmplitude(4);\nbeerProgressView.setBeerProgress(10);\n```\n\n### TODO\n1. Improve draw efficiency of view\n\n### Thanks\n\nThis library has been made by pulling together two other open source libraries to get what I needed at the time. So huge thanks to the following libraries which this is based on.\n\n* WaveProgrssView by [zeng1990java](https://github.com/zeng1990java) - [https://github.com/zeng1990java/WaveProgressView](https://github.com/zeng1990java/WaveProgressView)\n* BubbleWallpaper by [vrnvikas](https://github.com/vrnvikas) - [https://github.com/vrnvikas/BubbleWallpaper](https://github.com/vrnvikas/BubbleWallpaper)\n\nThanks to Contributors\n\nLuizGadao\n\n### Licence\n```\nCopyright (c) 2016 Andy Barber\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n  http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandyb129%2Fbeerprogressview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandyb129%2Fbeerprogressview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandyb129%2Fbeerprogressview/lists"}