Fixed animation placement
This commit is contained in:
@@ -55,6 +55,7 @@ public class FitnessActivity extends RobotActivity implements RobotLifecycleCall
|
|||||||
private static String exerciseVideoUrl;
|
private static String exerciseVideoUrl;
|
||||||
private Animate animate;
|
private Animate animate;
|
||||||
private VideoView videoView;
|
private VideoView videoView;
|
||||||
|
private QiContext qiContext;
|
||||||
|
|
||||||
private final Object lock = new Object();
|
private final Object lock = new Object();
|
||||||
|
|
||||||
@@ -173,6 +174,7 @@ public class FitnessActivity extends RobotActivity implements RobotLifecycleCall
|
|||||||
|
|
||||||
if ( videoView.isPlaying() )
|
if ( videoView.isPlaying() )
|
||||||
{
|
{
|
||||||
|
QiContext qiContext = null;
|
||||||
Animation animationarmraise = AnimationBuilder.with(qiContext) // Create the builder with the context.
|
Animation animationarmraise = AnimationBuilder.with(qiContext) // Create the builder with the context.
|
||||||
.withResources(R.raw.armraise) // Set the animation resource.
|
.withResources(R.raw.armraise) // Set the animation resource.
|
||||||
.build(); // Build the animation.
|
.build(); // Build the animation.
|
||||||
|
Reference in New Issue
Block a user