-
Notifications
You must be signed in to change notification settings - Fork 148
/
dragon_ball.xml
39 lines (32 loc) · 1.41 KB
/
dragon_ball.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:custom="http://schemas.android.com/apk/res-auto"
android:id="@+id/dragon_ball"
android:background="@color/pager_bg"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.github.glomadrian.dashedcircularprogress.DashedCircularProgress
android:id="@+id/dragon_ball_progress"
custom:external_color="#1affffff"
custom:base_color="@color/pager_base_color"
custom:min="0"
custom:max="1000"
custom:progress_color="@color/material_pink"
custom:progress_icon="@drawable/ball"
custom:duration="1000"
android:layout_centerInParent="true"
android:layout_width="300dp"
android:layout_height="300dp">
<RelativeLayout
android:layout_centerInParent="true"
android:layout_width="match_parent"
android:layout_height="match_parent">
<android.support.v4.view.ViewPager
android:id="@+id/dragon_ball_pager"
android:overScrollMode="never"
android:layout_width="match_parent"
android:layout_height="match_parent">
</android.support.v4.view.ViewPager>
</RelativeLayout>
</com.github.glomadrian.dashedcircularprogress.DashedCircularProgress>
</RelativeLayout>