Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Googleprogressbar | 1,274 | 54 | 4 years ago | 4 | June 02, 2015 | 7 | apache-2.0 | Java | ||
Android library to display progress like google does in some of his services. | ||||||||||
Kongzueupdatesdk | 86 | a year ago | 4 | Java | ||||||
🔥Kongzue的App更新框架 | ||||||||||
Glass Progress Bar | 51 | 10 years ago | 2 | Java | ||||||
Native Progress Bar and MessageDialog for Google Glass extracted from GlassHome.apk & GlassSound.apk | ||||||||||
Gdk Progressbar | 31 | 9 years ago | Java | |||||||
ProgressBar for Glass GDK Menu Cards that look and work exactly like the ones Google Use. | ||||||||||
Publicchecklist | 18 | 5 years ago | 2 | HTML | ||||||
Public checklist of your progress auto syncing with Google Sheet | ||||||||||
Swiperefreshlayout | 13 | 9 years ago | apache-2.0 | Java | ||||||
Modified android.support.v4.widget.SwipeRefreshLayout to make the animations more like Google Now. |
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:
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 5 circles boot progress animation (Just the circles bouncing)
Galaxy nexus shinny cross boot animation
######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 Drawable
s 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:
The more custom Drawable
s 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());
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:
The more custom Drawable
s finished, the more options in this list.
Each type of GoogleProgressBar
have different attributes:
Attributes depending on type: ######Color
gpb:colors="@array/colors"
So far google_music_dices
doesn't have color options.
The animation speed can be modified easily with android:indeterminateDuration
in the xml.
You can either add the library to your application as a library project or add the following dependency to your build.gradle:
dependencies {
compile 'com.jpardogo.googleprogressbar:library:(latest version)'
}
In order to use this library with proguard you need to add this line to your proguard.cfg
:
-keep class com.jpardogo.android.googleprogressbar.** { *; }
Javier Pardo de Santayana Gómez - [email protected]
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.