All Projects β†’ andyb129 β†’ Beerprogressview

andyb129 / Beerprogressview

A library that lets you create a beer styled progress view with bubbles and all! (hic) 🍺

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Beerprogressview

Indicators
Activity Indicators for Modern C++
Stars: ✭ 1,838 (+699.13%)
Mutual labels:  progress-bar, loading-animations
Chompprogressview
A (semi) realistic chomping progress view that takes bites out of your delicious images! Nom! Nom!
Stars: ✭ 71 (-69.13%)
Mutual labels:  progress-bar, loading-animations
Vasdolly
Android V1 and V2 Signature Channel Package Plugin
Stars: ✭ 2,441 (+961.3%)
Mutual labels:  gradle
Uportal
Enterprise open source portal built by and for the higher education community.
Stars: ✭ 221 (-3.91%)
Mutual labels:  gradle
Loadgo
LoadGo is a Javascript plugin for using your logo as a progress bar.
Stars: ✭ 214 (-6.96%)
Mutual labels:  loading-animations
Techreborn
Tech Reborn is a completely standalone tech mod including tools and machines to gather resources, process materials, and progress through the mod. https://www.curseforge.com/minecraft/mc-mods/techreborn
Stars: ✭ 205 (-10.87%)
Mutual labels:  gradle
Forbidden Apis
Policeman's Forbidden API Checker
Stars: ✭ 216 (-6.09%)
Mutual labels:  gradle
Autoplay
Gradle plugin for publishing Android artifacts to Google Play.
Stars: ✭ 201 (-12.61%)
Mutual labels:  gradle
Craftbook
πŸ”§ Machines, ICs, PLCs, and more!
Stars: ✭ 226 (-1.74%)
Mutual labels:  gradle
Httpclient Android
HttpClient repackaged for Android
Stars: ✭ 211 (-8.26%)
Mutual labels:  gradle
Customfloatingactionbutton
This view is for replacement of standard Floating Action Button from Google Support Library. It is easy to use, customizable and you can also add text to button
Stars: ✭ 222 (-3.48%)
Mutual labels:  gradle
Twitch4j
Modular Async/Sync/Reactive Twitch API Client / IRC Client
Stars: ✭ 209 (-9.13%)
Mutual labels:  gradle
Argusapm
Powerful, comprehensive (Android) application performance management platform. 360ηΊΏδΈŠη§»εŠ¨ζ€§θƒ½ζ£€ζ΅‹εΉ³ε°
Stars: ✭ 2,452 (+966.09%)
Mutual labels:  gradle
Bubbleactions
An open source implementation of the long press actions in the Pinterest app.
Stars: ✭ 217 (-5.65%)
Mutual labels:  bubble
Loading Buttons Ios
A collection of loading buttons and their stylings written in Swift.
Stars: ✭ 204 (-11.3%)
Mutual labels:  loading-animations
Reposilite
Lightweight repository management software dedicated for the Maven based artifacts (formerly NanoMaven) πŸ“¦
Stars: ✭ 222 (-3.48%)
Mutual labels:  gradle
Worldwindandroid
The NASA WorldWind Java SDK for Android (WWA) includes the library, examples and tutorials for building 3D virtual globe applications for phones and tablets.
Stars: ✭ 204 (-11.3%)
Mutual labels:  gradle
Sample Project Gradle
Sample web3j project using Gradle
Stars: ✭ 211 (-8.26%)
Mutual labels:  gradle
Badass Jlink Plugin
Create a custom runtime image of your modular application
Stars: ✭ 216 (-6.09%)
Mutual labels:  gradle
Spring Petclinic Kotlin
Kotlin version of Spring Petclinic
Stars: ✭ 227 (-1.3%)
Mutual labels:  gradle

Beer Progress View

Android Arsenal

A cool beer styled progress view with realistic bubbles*. Cheers!

  • Increment progress.
  • Change beer colour.
  • Change wave size.
  • Change bubble colour.
  • Change bubble count

(*realism of bubbles not guaranteed)

BeerProgressView

BeerProgressView

Setup

To use BeerProgressView in your projects, simply add the library as a dependency to your build.

Gradle
dependencies {
  compile 'uk.co.barbuzz:beerprogressview:0.0.6'
}
Maven
<dependency>
  <groupId>uk.co.barbuzz.beerprogressview</groupId>
  <artifactId>beerprogressview</artifactId>
  <version>0.0.6</version>
  <type>pom</type>
</dependency>

Alternatively you can directly import the /library project into your Android Studio project and add it as a dependency in your build.gradle.

The library is currently configured to be built via Gradle only. It has the following dependencies:

  • Nine old androids - com.nineoldandroids:library:2.4.0
  • Compiled SDK Version - lollipop-23
  • Minimum SDK Version - >= Gingerbread-10

Usage

For more detailed code example to use the library, Please refer to the /sample app.

BeerProgressView can be added as a custom view to any layout.

<uk.co.barbuzz.beerprogressview.BeerProgressView
        android:id="@+id/beerProgressView"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        app:beerColor="#EFA601"
        app:bubbleColor="#B67200"
        app:bubbleCount="12"
        app:beerProgress="0"
        app:waveMax="100"
        app:waveAmplitude="3dp"/>

You can then either set the xml parameters to configure the view or do it programmatically as follows

BeerProgressView beerProgressView = (BeerProgressView) findViewById(R.id.beerProgressView);
beerProgressView.setBeerColor(ContextCompat.getColor(mActivity, R.color.lager));
beerProgressView.setBubbleColor(ContextCompat.getColor(mActivity, R.color.lager_bubble));
beerProgressView.setBubbleCount(12);
beerProgressView.setMax(100);
beerProgressView.setAmplitude(4);
beerProgressView.setBeerProgress(10);

TODO

  1. Improve draw efficiency of view

Thanks

This 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.

Thanks to Contributors

LuizGadao

Licence

Copyright (c) 2016 Andy Barber

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].