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
精彩评论