All Projects → jpardogo → Googleprogressbar

jpardogo / Googleprogressbar

Licence: apache-2.0
Android library to display progress like google does in some of his services.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Googleprogressbar

Progressview
🌊 A polished and flexible ProgressView, fully customizable with animations.
Stars: ✭ 425 (-66.95%)
Mutual labels:  animations, progressbar
Alive Progress
A new kind of Progress Bar, with real-time throughput, ETA, and very cool animations!
Stars: ✭ 2,940 (+128.62%)
Mutual labels:  animations, progressbar
React Native Spline Interpolate
Spline interpolation for React Native animations
Stars: ✭ 65 (-94.95%)
Mutual labels:  animations
Next Progressbar
Add a progress bar to next.js
Stars: ✭ 84 (-93.47%)
Mutual labels:  progressbar
Highway
Highway - A Modern Javascript Transitions Manager
Stars: ✭ 1,185 (-7.85%)
Mutual labels:  animations
Libanimation Old
Wobbly windows and animations logic split out from Compiz
Stars: ✭ 65 (-94.95%)
Mutual labels:  animations
Ease
It's magic.
Stars: ✭ 1,213 (-5.68%)
Mutual labels:  animations
React Typist
Typing animations with React
Stars: ✭ 1,092 (-15.09%)
Mutual labels:  animations
Reanimated Collapsible Navbar
Declarative implementation of a collapsible navigation bar with snapping in React Native, with all animations running on the UI thread 🚀
Stars: ✭ 86 (-93.31%)
Mutual labels:  animations
Loadingshimmer
An easy way to add a shimmering effect to any view with just one line of code. It is useful as an unobtrusive loading indicator.
Stars: ✭ 1,180 (-8.24%)
Mutual labels:  animations
Simpletab
A Simple iOS Tab Bar Controller with animation support.
Stars: ✭ 83 (-93.55%)
Mutual labels:  animations
Vanta
Animated 3D backgrounds for your website
Stars: ✭ 1,162 (-9.64%)
Mutual labels:  animations
Flutter swipe action cell
A flutter UI package provides ListView leading and trailing swipe action menu.
Stars: ✭ 65 (-94.95%)
Mutual labels:  animations
Photoviewslider
📷 A simple photo browser for Android applications.
Stars: ✭ 78 (-93.93%)
Mutual labels:  animations
Androidanimationinterpolator
Based on Article: https://blog.mindorks.com/understanding-interpolators-in-android-ce4e8d1d71cd
Stars: ✭ 65 (-94.95%)
Mutual labels:  animations
Coolindicator
A dazzling indicator
Stars: ✭ 85 (-93.39%)
Mutual labels:  progressbar
Progressbarwithnumber
Android带圆形数字进度的自定义进度条
Stars: ✭ 58 (-95.49%)
Mutual labels:  progressbar
Segmentedarcview
Unique & beautiful segmented arc view with rich customisation options! RTL supported.
Stars: ✭ 67 (-94.79%)
Mutual labels:  progressbar
Dl Visualization
This is the source code for the animations in the series "Visualizing Deep Learning"
Stars: ✭ 76 (-94.09%)
Mutual labels:  animations
Zwmusicdownloadview
精仿唱吧App音乐下载进度按钮,完美快速集成使用(A beautiful musical download progress button which can show the progress and click to play Music after finishing)
Stars: ✭ 88 (-93.16%)
Mutual labels:  animations

GoogleProgressBar

This library is not maintained anymore and there will be no further releases

Android library to display different kind of google related animations for the progressBar.

These animations have been finished so far:

FoldingCirclesProgressBar GoogleMusicDicesDrawable NexusRotationCross.gif NexusRotationCross.gif

TODO

  • Different colors for the already existing `GoogleMusicDicesDrawable'. Either the whole dice or his faces.

I also would love to receive your pull requests to create any of the following animations or others that you think fit on this library:

  • NEXUS_CIRCLES:

    Nexus 5 circles boot progress animation (Just the circles bouncing)

  • NEXUS_CROSS:

    Galaxy nexus shinny cross boot animation

Usage

######Dynamically Add a ProgressBar to the xml layout:

     <ProgressBar
            android:id="@+id/google_progress"
            android:layout_width="50dp"
            android:layout_height="50dp"
            android:layout_gravity="center"/>

Choose from the list of Drawables the one you want to use and place it in your code:

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        ButterKnife.inject(this);
        mProgressBar.setIndeterminateDrawable(new your_list_option.Builder(this)
                    .build());
        //...
    }

your_list_option can be replace for:

  • FoldingCirclesDrawable
  • GoogleMusicDicesDrawable
  • NexusRotationCrossDrawable
  • ChromeFloatingCircles

The more custom Drawables finished, the more options in this list.

Attributes depending on the drawable:

######Color

    mProgressBar.setIndeterminateDrawable(new you_list_option.Builder(this)
                                                             .colors(getResources().getIntArray(R.array.colors) //Array of 4 colors
                                                             .build());
  • FoldingCirclesDrawable
  • NexusRotationCrossDrawable
  • ChromeFloatingCirclesDrawable

So far GoogleMusicDicesDrawable doesn't have color options. The animation speed can be modified easily with android:indeterminateDuration in the xml.

If not colors are define the 4 default google colors (red,blue, yellow and green) will be used.

######From XML

When you want to use the GoogleProgresBar from XML you need to add the following view to your layout:

    <com.jpardogo.android.googleprogressbar.library.GoogleProgressBar
            android:id="@+id/google_progress"
            android:layout_width="50dp"
            android:layout_height="50dp"
            android:layout_gravity="center"
            gpb:type="your_list_option"/>

The require attribute gpb:type will specify the type of ProgressBar to display

your_list_option can be replace for:

  • folding_circles
  • nexus_rotation_cross
  • google_music_dices
  • chrome_floating_circles

The more custom Drawables finished, the more options in this list.

Each type of GoogleProgressBar have different attributes:

Attributes depending on type: ######Color

  • folding_circles
  • nexus_rotation_cross
    • gpb:colors="@array/colors"
      • Optional, If not colors are define the 4 default google colors (red,blue, yellow and green) will be used.
      • It needs to be an array of 4 colors

So far google_music_dices doesn't have color options. The animation speed can be modified easily with android:indeterminateDuration in the xml.

Including in your project

You can either add the library to your application as a library project or add the following dependency to your build.gradle:

Maven Central

dependencies {
    compile 'com.jpardogo.googleprogressbar:library:(latest version)'
}

Proguard

In order to use this library with proguard you need to add this line to your proguard.cfg:

-keep class com.jpardogo.android.googleprogressbar.** { *; }

How to contribute?

  • Pull request to dev branch NO master.

Acknowledgements

Developed By

Javier Pardo de Santayana Gómez - [email protected]

Follow me on Twitter Follow me on Google+ Follow me on LinkedIn

License

Copyright 2013 Javier Pardo de Santayana Gómez

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