-
Notifications
You must be signed in to change notification settings - Fork 107
/
activity_main.xml
79 lines (76 loc) · 2.36 KB
/
activity_main.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:orientation="vertical"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context=".MainActivity"
>
<io.saeid.fabloading.LoadingView
android:id="@+id/loading_view_long"
android:layout_width="wrap_content"
android:layout_height="0dp"
android:layout_weight="1"
android:scaleX="1"
android:scaleY="1"
app:mfl_onclickLoading="true"
android:layout_marginBottom="40dp"
app:mfl_duration="400"
/>
<io.saeid.fabloading.LoadingView
android:id="@+id/loading_view"
android:layout_width="wrap_content"
android:layout_height="0dp"
android:layout_weight="1"
android:scaleX="1.5"
android:layout_marginBottom="60dp"
android:scaleY="1.5"
app:mfl_onclickLoading="true"
app:mfl_duration="400"
/>
<io.saeid.fabloading.LoadingView
android:id="@+id/loading_view_repeat"
android:layout_width="wrap_content"
android:layout_height="0dp"
android:layout_weight="1"
android:scaleX="2"
android:scaleY="2"
app:mfl_onclickLoading="true"
app:mfl_duration="400"
app:mfl_repeat="1"
/>
<View
android:layout_width="1dp"
android:layout_height="100dp"
/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:orientation="horizontal"
>
<Button
android:layout_width="100dp"
android:onClick="pause"
android:layout_height="50dp"
android:text="Pause"
/>
<Button
android:layout_width="100dp"
android:onClick="start"
android:layout_height="50dp"
android:text="Next"
/>
<Button
android:layout_width="100dp"
android:onClick="resume"
android:layout_height="50dp"
android:text="Resume"
/>
</LinearLayout>
</LinearLayout>