|
26 | 26 | android:layout_marginStart="16dp" |
27 | 27 | android:layout_marginTop="16dp" |
28 | 28 | android:text="Start process" |
| 29 | + tools:spb_showStripes="true" |
29 | 30 | app:spb_loadingText="Loading..." |
30 | 31 | app:spb_cornerRadius="25" |
31 | 32 | android:clickable="true" |
|
45 | 46 | android:foreground="@drawable/ripple" |
46 | 47 | android:text="Stop"/> |
47 | 48 |
|
48 | | - <com.github.nikartm.support.StripedProcessButton |
49 | | - android:id="@+id/btn_2" |
50 | | - android:layout_width="200dp" |
51 | | - android:layout_height="70dp" |
52 | | - android:layout_marginBottom="8dp" |
53 | | - android:layout_marginEnd="16dp" |
54 | | - android:layout_marginStart="16dp" |
55 | | - android:layout_marginTop="40dp" |
56 | | - android:text="Start process" |
57 | | - app:spb_background="#283593" |
58 | | - app:spb_mainStripColor="#283593" |
59 | | - app:spb_subStripeColor="#E0E0E0" |
60 | | - app:spb_stripeAlpha="0.5" |
61 | | - app:spb_loadingText="Loading..." |
62 | | - app:spb_cornerRadius="60" |
63 | | - app:spb_stripeTilt="0" |
64 | | - android:clickable="true" |
65 | | - android:focusable="true" |
66 | | - android:textColor="#ffffff" /> |
67 | | - |
68 | 49 | <com.github.nikartm.support.StripedProcessButton |
69 | 50 | android:id="@+id/btn_3" |
70 | 51 | android:layout_width="100dp" |
71 | 52 | android:layout_height="100dp" |
72 | 53 | android:layout_marginBottom="8dp" |
73 | 54 | android:layout_marginEnd="16dp" |
74 | 55 | android:layout_marginStart="16dp" |
75 | | - android:layout_marginTop="16dp" |
| 56 | + android:layout_marginTop="50dp" |
76 | 57 | android:clickable="true" |
77 | 58 | android:focusable="true" |
78 | 59 | android:textColor="#ffffff" |
79 | 60 | android:text="Start process" |
80 | | - android:layout_gravity="end" |
| 61 | + tools:spb_showStripes="true" |
81 | 62 | app:spb_stripeGradient="false" |
82 | 63 | app:spb_stripeRevert="true" |
83 | 64 | app:spb_background="#6D4C41" |
84 | 65 | app:spb_mainStripColor="#6D4C41" |
85 | 66 | app:spb_subStripeColor="#FF9800" |
| 67 | + app:spb_stripeTilt="15" |
86 | 68 | app:spb_stripeAlpha="0.8" |
87 | 69 | app:spb_loadingText="Loading..." |
88 | 70 | app:spb_cornerRadius="270" /> |
89 | 71 |
|
| 72 | + <com.github.nikartm.support.StripedProcessButton |
| 73 | + android:id="@+id/btn_2" |
| 74 | + android:layout_width="200dp" |
| 75 | + android:layout_height="70dp" |
| 76 | + android:layout_marginBottom="8dp" |
| 77 | + android:layout_marginEnd="16dp" |
| 78 | + android:layout_marginStart="16dp" |
| 79 | + android:layout_marginTop="16dp" |
| 80 | + android:text="Start process" |
| 81 | + tools:spb_showStripes="true" |
| 82 | + app:spb_background="#283593" |
| 83 | + app:spb_mainStripColor="#283593" |
| 84 | + app:spb_subStripeColor="#E0E0E0" |
| 85 | + app:spb_stripeAlpha="0.5" |
| 86 | + app:spb_loadingText="Loading..." |
| 87 | + app:spb_cornerRadius="60" |
| 88 | + app:spb_stripeTilt="0" |
| 89 | + app:spb_stripeWidth="6dp" |
| 90 | + android:clickable="true" |
| 91 | + android:focusable="true" |
| 92 | + android:textColor="#ffffff" /> |
| 93 | + |
90 | 94 | <com.github.nikartm.support.StripedProcessButton |
91 | 95 | android:id="@+id/btn_4" |
92 | 96 | android:layout_width="match_parent" |
|
96 | 100 | android:layout_marginStart="16dp" |
97 | 101 | android:layout_marginTop="16dp" |
98 | 102 | android:text="Start process" |
| 103 | + tools:spb_showStripes="true" |
99 | 104 | app:spb_loadingText="Loading..." |
100 | 105 | app:spb_stripeGradient="false" |
101 | | - app:spb_stripeWidth="18dp" |
| 106 | + app:spb_stripeWidth="30dp" |
| 107 | + app:spb_stripeTilt="35" |
102 | 108 | app:spb_subStripeColor="#ffffff" |
103 | 109 | app:spb_background="#212121" |
104 | 110 | app:spb_stripeDuration="120" |
|
0 commit comments