开发者

android pause an image

hi to all im using this to display images the screen

 ImageView myImageView = (ImageView)findViewById(R.id.imageview);
        myImageView.setImageBitmap(bitmap);

and this

<ImageView
  android:id="@+id/imageview"
  android:layout_gravity="ce开发者_JAVA技巧nter"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent"
  android:scaleType="center"
  />

my question is how can make it pause for a couple of seconds then switch to the next image like the slideshow ....

thank you


Implement a Handler. Here is more about updating the UI from a timer

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜