android-如何制作逐步向导 [英] android- How to make step by step wizard
本文介绍了android-如何制作逐步向导的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想为我的申请填写注册表. 我想在每个步骤中问几个问题.我想要3个步骤,完成上一步后,用户应转到下一步.
I want to make a registration form for my application . I want to ask a few question in each step. I want to have 3 steps and users should move to next step upon completion of previous step.
如何在一个活动中在android中执行类似的操作?
How can I do something like this in android in one activity?
推荐答案
您可以使用Fragments
和ViewPager
的组合来完成任务!
You can use a combination of Fragments
and ViewPager
to accomplish your task!
推荐的ViewPager教程:
- http://android-er. blogspot.in/2014/04/example-of-viewpager-with-custom.html
- https://awesoham.wordpress.com/2013/10/05/tutorial-using-a-button-to-switch-pages-in-a-viewpager-android-studio/
- http://developer.android.com/training/animation/screen- slide.html
- http://android-er.blogspot.in/2014/04/example-of-viewpager-with-custom.html
- https://awesoham.wordpress.com/2013/10/05/tutorial-using-a-button-to-switch-pages-in-a-viewpager-android-studio/
- http://developer.android.com/training/animation/screen-slide.html
希望这会有所帮助!
这篇关于android-如何制作逐步向导的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文