|
Delay, duration, rotate-degrees...
|
|
Delay, duration, rotate-degrees, frames...
|
|
|
|
|
|
###Other Animation Attributes
|
|
###Other Animation Attributes
|
|
Set other animation attributes by:
|
|
Set other animation attributes by:
|
... | @@ -8,6 +8,7 @@ bmb.setShowDuration(1000); |
... | @@ -8,6 +8,7 @@ bmb.setShowDuration(1000); |
|
bmb.setRotateDegree(1080);
|
|
bmb.setRotateDegree(1080);
|
|
bmb.setHideDelay(0);
|
|
bmb.setHideDelay(0);
|
|
bmb.setHideDuration(500);
|
|
bmb.setHideDuration(500);
|
|
|
|
bmb.setFrames(80); // The higher, the smoother animations the higher performances needed
|
|
```
|
|
```
|
|
Or in .xml:
|
|
Or in .xml:
|
|
```
|
|
```
|
... | @@ -16,4 +17,5 @@ app:bmb_showDuration="1000" |
... | @@ -16,4 +17,5 @@ app:bmb_showDuration="1000" |
|
app:bmb_rotateDegree="1080"
|
|
app:bmb_rotateDegree="1080"
|
|
app:bmb_hideDelay="0"
|
|
app:bmb_hideDelay="0"
|
|
app:bmb_hideDuration="500"
|
|
app:bmb_hideDuration="500"
|
|
|
|
app:bmb_frames="60"
|
|
``` |
|
``` |
|
|
|
\ No newline at end of file |