问题
I am new to Android development, I need to show user manual like Flip-kart app on start-up of app.
Please refer the image below, You will get an idea about, What actually I want to achieve....
Is there any standard way to achieve this?
回答1:
You can do the whole stuff manually. Or use a prebuilt library called ShowcaseView.
You'll find details, code and guide here http://www.xda-developers.com/android/create-holo-themed-demo-overlays-with-showcaseview/
回答2:
Here is my suggestion
- Get the semi-transparent images of manual pages. Keep the Images in your
res/drawable. - Use
sharedpreferenceto maintain the status whether this manual is shown to user on startup or not (Depending on your requirement). Check the status when the app is launched, to decide whether to show this to user or bypass it. - Use a
fragmentorActivityto display this manual images in sequence one after another. for this you can useviewpager,swipe animationor simple buttons.
回答3:
just use one Gallery view and skip button on it.Show that gallery on the first installation.For that you can set flag value in sharedpreference.Also shows a button for virtrual tour in Left drawer,
来源:https://stackoverflow.com/questions/22344146/android-how-can-i-implement-user-manual-or-app-instruction-on-start-up-of-app