开发者

Menu Navigation using ViewFlipper in android?

i have one listview contain menu based on the selected item in listview i want to display new view(add or edit or delete) that is defferent add.xml or edit.xml or delete.xml file.I want to show below like this.Also how开发者_StackOverflow中文版 to back in to main menu from child view.

i tried using tag using ViewFlipper.showNext() but it display only add view all the time.

Thanks in advance..

Menu Navigation using ViewFlipper in android?

Menu Navigation using ViewFlipper in android?

Menu Navigation using ViewFlipper in android?

Menu Navigation using ViewFlipper in android?

Menu Navigation using ViewFlipper in android?

Menu Navigation using ViewFlipper in android?


You are using different xml. Then why can't you set this as different intent, so it will be easy to navigate. Anyway viewFlipper.showNext() will only show the next child
You can use viewflipper.setDisplayedChild(whichChild) to get the desired child

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜