Update to follow API change.
Change-Id: I092f2a9fde19648f5d47bde091d15f1bb5deb63b
This commit is contained in:
@@ -122,7 +122,7 @@ public class Animation extends Activity {
|
|||||||
Canvas c = new Canvas(bm);
|
Canvas c = new Canvas(bm);
|
||||||
//c.drawARGB(255, 255, 0, 0);
|
//c.drawARGB(255, 255, 0, 0);
|
||||||
ActivityOptions opts = ActivityOptions.makeThumbnailScaleUpAnimation(
|
ActivityOptions opts = ActivityOptions.makeThumbnailScaleUpAnimation(
|
||||||
v, bm, 0, 0, null);
|
v, bm, 0, 0);
|
||||||
// Request the activity be started, using the custom animation options.
|
// Request the activity be started, using the custom animation options.
|
||||||
startActivity(new Intent(Animation.this, AlertDialogSamples.class), opts.toBundle());
|
startActivity(new Intent(Animation.this, AlertDialogSamples.class), opts.toBundle());
|
||||||
v.setDrawingCacheEnabled(false);
|
v.setDrawingCacheEnabled(false);
|
||||||
|
|||||||
Reference in New Issue
Block a user