Created
November 29, 2016 07:01
-
-
Save allenatwork/367bc624ca25161f4c3b478eaf2db71b to your computer and use it in GitHub Desktop.
Loading Drawable
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
<?xml version="1.0" encoding="utf-8"?> | |
<rotate | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
android:fromDegrees="90" | |
android:pivotX="50%" | |
android:pivotY="50%" | |
android:toDegrees="360"> | |
<shape | |
android:innerRadiusRatio="3" | |
android:shape="ring" | |
android:thicknessRatio="7.0"> | |
<gradient | |
android:centerColor="#007DD6" | |
android:endColor="#007DD6" | |
android:startColor="#007DD6" | |
android:angle="0" | |
android:type="sweep" | |
android:useLevel="false" /> | |
</shape> | |
</rotate> |
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
<ProgressBar | |
style="?android:attr/progressBarStyleLarge" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:id="@+id/progressBar" | |
android:progressDrawable="@drawable/circular_progress_bar" | |
android:layout_below="@+id/button" | |
android:layout_alignRight="@+id/textView" | |
android:layout_alignEnd="@+id/textView" | |
android:layout_alignLeft="@+id/textview" | |
android:layout_alignStart="@+id/textview" | |
android:layout_alignParentBottom="true" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment