D/Jekton: MyLinearLayout.onMeasure: mode = 0, size = 1552 D/Jekton: MyLinearLayout.onMeasure: 3024 D/Jekton: MyLinearLayout.dispatchDraw: android.view.DisplayListCanvas@fe4d0c5, 1080-3024 java.lang.RuntimeException at com.example.ashmemdemo.MyLinearLayout.dispatchDraw(MyLinearLayout.java:37) at android.view.View.updateDisplayListIfDirty(View.java:18241) at android.view.View.draw(View.java:19042) at android.view.ViewGroup.drawChild(ViewGroup.java:4271) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4054) at android.view.View.draw(View.java:19317) at android.widget.ScrollView.draw(ScrollView.java:1777) at android.view.View.updateDisplayListIfDirty(View.java:18250) at android.view.View.draw(View.java:19042) at android.view.ViewGroup.drawChild(ViewGroup.java:4271) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4054) at android.view.View.updateDisplayListIfDirty(View.java:18241) at android.view.View.draw(View.java:19042) at android.view.ViewGroup.drawChild(ViewGroup.java:4271) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4054) at android.view.View.updateDisplayListIfDirty(View.java:18241) at android.view.View.draw(View.java:19042) at android.view.ViewGroup.drawChild(ViewGroup.java:4271) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4054) at android.view.View.updateDisplayListIfDirty(View.java:18241) at android.view.View.draw(View.java:19042) at android.view.ViewGroup.drawChild(ViewGroup.java:4271) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4054) at android.view.View.updateDisplayListIfDirty(View.java:18241) at android.view.View.draw(View.java:19042) at android.view.ViewGroup.drawChild(ViewGroup.java:4271) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4054) at android.view.View.draw(View.java:19317) at com.android.internal.policy.DecorView.draw(DecorView.java:915) at android.view.View.updateDisplayListIfDirty(View.java:18250) at android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:684) at android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:690) at android.view.ThreadedRenderer.draw(ThreadedRenderer.java:804) at android.view.ViewRootImpl.draw(ViewRootImpl.java:3199) at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2997) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2526) at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1515) at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7266) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:981) at android.view.Choreographer.doCallbacks(Choreographer.java:790) at android.view.Choreographer.doFrame(Choreographer.java:721) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:967) at android.os.Handler.handleCallback(Handler.java:808) at android.os.Handler.dispatchMessage(Handler.java:101) at android.os.Looper.loop(Looper.java:166) at android.app.ActivityThread.main(ActivityThread.java:7529) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)