Hi,
Try changing the image name to some alpha character like imgone,
imgtwo... and running the code.

regards,
Nagaraj Rao

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

Reply via email to