Here is the code: ============== ScrollView sv = new ScrollView(this); sv.setBackgroundColor(Color.WHITE);
AbsoluteLayout abl = new AbsoluteLayout(this); HorizontalScrollView layout = new HorizontalScrollView(this); LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams( LinearLayout.LayoutParams.FILL_PARENT, LinearLayout.LayoutParams.FILL_PARENT); String url ="Url of Main Image";// Take any big image Bitmap bm = getImage(url); ImageView iv = new ImageView(this); iv.setImageBitmap(bm); layout.addView(iv); abl.addView(layout); Bitmap bmp = BitmapFactory.decodeResource(getResources(), R.drawable.pushpin); // Take any small image final int bitmapWidth = bmp.getWidth(); final int bitmapHeight = bmp.getHeight(); for(int i=0;i<hashtable.size();i++){ Information information = (Information) hashtable.get(i+""); ImageView iv1 = new ImageView(this); iv1.setAdjustViewBounds(true); iv1.setImageBitmap(bmp); AbsoluteLayout.LayoutParams alp = new AbsoluteLayout.LayoutParams(20,20,x,y); abl.addView(iv1,alp); } sv.addView(abl); setContentView(sv); Thanks, Beena On Aug 14, 9:26 am, Frank Weiss <fewe...@gmail.com> wrote: > Perhaps you can give a sample of the code used to draw the image and > the pushpins? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en