开发者

How to reset a view in a viewflipper with button click

I am dealing the view flipper with three views. The only problem which I couldn't able to solve i开发者_开发百科s, In main.xml I have one button(xyz) and when I click that button(xyz) the first view of the view flipper will appear after moving to the third view I closed the view flipper.

But when I click the button (xyz) once again to reopen the view flipper the third view is appearing(from where I closed the view flipper) instead of first view. Remember the button (xyz) doesn't belongs to viewflipper

how to solve this, any Idea?


you can remove your view by using Viewflipper.removeView(id)./id=1,2,3 in ur case./

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜