Hi,
   i have build a big bitmap and so i need scrollview to look at entire 
bitmap content. I am adding this canvas to linearlayout through addview 
option. When i scroll the screen goes blank. Below is the snippet of the 
code

<Scrollview>
            <LinearLayout>
           </LinearLayout>
</Scrollview>

java code:

Point size = new Point();
getWindowManager().getDefaultDisplay().getSize(size);
Bitmap place = 
Bitmap.createBitmap(size.x,(size.x)*count,Bitmap.Config.ARGB_8888);
chartPlot cp = new chartPlot(this);
Canvas c = new Canvas(place);
cp.setData("divisional",cbStatus);
cp.draw(c);
LinearLayout ll = (LinearLayout) findViewById(R.id.divchartLayout);
ll.removeAllViews();
ll.addView(cp,size.x,(size.x)*count);

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/31c0162d-161e-4cd4-9dbb-7a35fb031348%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to