|
@@ -117,7 +117,6 @@ public class ViewShot implements UIBlock {
|
117
|
117
|
}
|
118
|
118
|
Bitmap bitmap = Bitmap.createBitmap(view.getWidth(), view.getHeight(), Bitmap.Config.ARGB_8888);
|
119
|
119
|
Canvas c = new Canvas(bitmap);
|
120
|
|
- view.layout(0, 0, view.getLayoutParams().width, view.getLayoutParams().height);
|
121
|
120
|
view.draw(c);
|
122
|
121
|
|
123
|
122
|
if (width != null && height != null && (width != w || height != h)) {
|