Using java Syntax Highlighting
- ImageView i = new ImageView(this);
- i.setImageResource(c.getImage());
- i.setAdjustViewBounds(true);
- i.setLayoutParams(new Gallery.LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT));
- i.setMaxHeight(80);
- i.setMaxWidth(80);
Parsed in 0.031 seconds, using GeSHi 1.0.8.4
I then add it to my layout
Using java Syntax Highlighting
- mLinearLayout.addView(i);
Parsed in 0.029 seconds, using GeSHi 1.0.8.4
Is there a way I can have this imageView displayed at specific screen coordinates? Are there methods that set the X and Y coordinates of the imageView? I plan to have user click the image and move it around on the screen.
Thanks.


