Urging for help won't help you, unless you want to repel those who might
give you an advice.

Post your R.layout.myimageview XML. Does it crash or just not showing up?

Best regards,
Filip Havlicek

2011/4/25 mack2978 <smashmah...@gmail.com>

> Pls help..
>
> On Apr 25, 3:54 pm, mack2978 <smashmah...@gmail.com> wrote:
> > Hi All,
> >
> > I am trying to display the image on run time using ImageView, but it
> > is not showing up, below is the code: Please sugegst what is the issue
> >
> > super.onCreate(savedInstanceState);
> > setContentView(R.layout.myimageview);
> > mImageView = (ImageView) findViewById(R.id.imageview);
> > mImageView.setScaleType(ImageView.ScaleType.FIT_CENTER);
> > mImageView.setImageResource(R.drawable.wall_img02);
> > mImageView.setFocusable(true);
> > mImageView.setFocusableInTouchMode(true);
> > mImageView.invalidate();
> >
> > Thanks
>
> --
> 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
>

-- 
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

Reply via email to