Last active
July 29, 2016 18:42
-
-
Save markdrake/6e9706464faee92c5031d88d4bbc429f to your computer and use it in GitHub Desktop.
Android progress bars XML for material design
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Circular bar --> | |
<ProgressBar | |
style="@style/Base.Widget.AppCompat.ProgressBar" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:indeterminate="true" | |
android:indeterminateTint="@color/colorAccent" | |
android:indeterminateTintMode="src_atop" | |
android:visibility="visible" /> | |
<!-- Linear bar --> | |
<ProgressBar | |
style="@style/Base.Widget.AppCompat.ProgressBar.Horizontal" | |
android:layout_width="match_parent" | |
android:layout_height="8dp" | |
android:layout_marginTop="24dp" | |
android:indeterminate="true" | |
android:visibility="visible" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment