How to implement this introductory dialog box showing the capabilities of the application.
Closed due to the fact that the participants are not on topic : ♦ , Sasha Omelchenko , rjhdby , Denis Bubnov , Vadizar 10 Mar '17 at 11:48 .
It seems that this question does not correspond to the subject of the site. Those who voted to close it indicated the following reason:
- “Questions asking for help with debugging (“ why does this code not work? ”) Should include the desired behavior, a specific problem or error, and a minimum code for playing it right in the question . Questions without an explicit description of the problem are useless for other visitors. See How to create minimal, self-sufficient and reproducible example . " - YuriSPb, Sasha Omelchenko, rjhdby, Denis Bubnov
|
1 answer
- Create activity with ViewPager container
- Create as many fragments as you need. Each fragment contains the markup of the current introductory slide.
- Profit
If you need to make fixed buttons at the bottom, then the structure will be like this
<linearlayout> viewPager <linearLayout> button </linearLayout> </linearlayout> There are a lot of examples on work with viewPager and its adapter on the Internet. And, as @pavlofff said, you can now launch either as a new activity, or in a dialog just returning it all in a view.
|
