开发者

Android: Showing thumbnail pictures in real size

开发者 https://www.devze.com 2023-01-29 02:30 出处:网络
In my activity I have two thumbnail pictures. I want to show the pictures in real size if I clic开发者_运维知识库k on each thumbnail. Is it possible? If yes what is the procedure?Here are some of the

In my activity I have two thumbnail pictures. I want to show the pictures in real size if I clic开发者_运维知识库k on each thumbnail. Is it possible? If yes what is the procedure?


Here are some of the approaches you can try:

  1. ImageSwitcher you can refer to code sample in you API demos:
  2. Place your thumbnails in a GridView and pass the Drawable resource object key to another activity which shows the resources full screen. A bit of advanced stuff.

Hope this helps, Cheers!!

0

精彩评论

暂无评论...
验证码 换一张
取 消