Commit 96a04baf by Lee Jaebin

アニメーション開始時、viewを描く

parent 9c5d9202
...@@ -66,7 +66,10 @@ public class ActionOperationTaskCode extends TextView { ...@@ -66,7 +66,10 @@ public class ActionOperationTaskCode extends TextView {
@Override @Override
protected void dispatchDraw(Canvas canvas) { protected void dispatchDraw(Canvas canvas) {
// アニメーション開始時、viewを描く
if (this.isAnimated) {
invalidate(); invalidate();
}
super.dispatchDraw(canvas); super.dispatchDraw(canvas);
} }
} }
...@@ -50,7 +50,10 @@ public class ActionOperationTaskIcon extends ImageView { ...@@ -50,7 +50,10 @@ public class ActionOperationTaskIcon extends ImageView {
@Override @Override
protected void dispatchDraw(Canvas canvas) { protected void dispatchDraw(Canvas canvas) {
// アニメーション開始時、viewを描く
if (this.isAnimated) {
invalidate(); invalidate();
}
super.dispatchDraw(canvas); super.dispatchDraw(canvas);
} }
} }
...@@ -62,7 +62,10 @@ public class ActionOperationTaskPin extends ImageView { ...@@ -62,7 +62,10 @@ public class ActionOperationTaskPin extends ImageView {
@Override @Override
protected void dispatchDraw(Canvas canvas) { protected void dispatchDraw(Canvas canvas) {
// アニメーション開始時、viewを描く
if (this.isAnimated) {
invalidate(); invalidate();
}
super.dispatchDraw(canvas); super.dispatchDraw(canvas);
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment