I want add customized View to ScrollView. In customized View, Only two methods are described, constructor and onDraw(). But the image that drew in onDraw(), isn’t show on ScrollView. What’s wrong in my program?
I want add customized View to ScrollView. In customized View, Only two methods are
Share
You might need to override
onMeasure()so the view can be sized appropriately. Otherwise it might help if you post some code with your question.