├── .gitattributes ├── .gitignore ├── README.md ├── header.png ├── library ├── AndroidManifest.xml ├── proguard-project.txt ├── project.properties ├── res │ ├── drawable-xhdpi │ │ ├── item_focused.9.png │ │ └── item_pressed.9.png │ ├── drawable │ │ ├── done_backgrounds.xml │ │ ├── review_backgrounds.xml │ │ └── selectable_item_background.xml │ ├── layout │ │ ├── activity_wizard.xml │ │ ├── activity_wizard_side.xml │ │ ├── fragment_page.xml │ │ ├── fragment_page_customer_info.xml │ │ └── list_item_review.xml │ ├── values-hdpi │ │ └── dimens.xml │ ├── values-land │ │ └── dimens.xml │ ├── values-xhdpi │ │ └── dimens.xml │ └── values │ │ ├── attrs.xml │ │ ├── colors.xml │ │ ├── dimens.xml │ │ ├── strings.xml │ │ └── styles.xml └── src │ └── dev │ └── dworks │ └── libs │ └── awizard │ ├── WizardActivity.java │ ├── WizardActivitySide.java │ └── model │ ├── PageFragmentCallbacks.java │ ├── PageList.java │ ├── PageTreeNode.java │ ├── ReviewCallbacks.java │ ├── ReviewItem.java │ ├── WizardModel.java │ ├── WizardModelCallbacks.java │ ├── page │ ├── BranchPage.java │ ├── CustomerInfoPage.java │ ├── DonePage.java │ ├── ListChoicePage.java │ ├── MultipleFixedChoicePage.java │ ├── Page.java │ ├── ReviewPage.java │ └── SingleFixedChoicePage.java │ └── ui │ ├── CustomerInfoFragment.java │ ├── DoneFragment.java │ ├── MultipleChoiceFragment.java │ ├── ReviewFragment.java │ ├── SingleChoiceFragment.java │ └── StepPagerStrip.java └── sample ├── AndroidManifest.xml ├── libs └── GoogleAdMobAdsSdk-6.4.1.jar ├── proguard-project.txt ├── project.properties ├── res ├── drawable-hdpi │ └── ic_launcher.png ├── drawable-mdpi │ └── ic_launcher.png ├── drawable-xhdpi │ ├── card_black.9.png │ ├── ic_launcher.png │ ├── ic_menu_feedback.png │ ├── ic_menu_github.png │ ├── ic_menu_gplus.png │ ├── ic_menu_rate.png │ ├── ic_menu_support.png │ └── ic_menu_twitter.png ├── drawable-xxhdpi │ └── ic_launcher.png ├── drawable-xxxhdpi │ └── ic_launcher.png ├── drawable │ ├── dots.png │ ├── dworks.png │ ├── item_background.9.png │ ├── logo_big.png │ └── made_with_love.png ├── layout │ ├── activity_about.xml │ ├── activity_main.xml │ ├── activity_wizard.xml │ └── activity_wizard_side.xml ├── menu │ ├── about.xml │ ├── main.xml │ └── order.xml ├── values-sw600dp │ └── dimens.xml ├── values-sw720dp-land │ └── dimens.xml ├── values-v11 │ └── styles.xml ├── values-v14 │ └── styles.xml └── values │ ├── attrs.xml │ ├── dimens.xml │ ├── strings.xml │ └── styles.xml ├── src └── dev │ └── dworks │ └── libs │ └── awizard │ └── demo │ ├── AboutActivity.java │ ├── MainActivity.java │ ├── OrderSideWizardActivity.java │ ├── OrderWizardActivity.java │ └── SandwichWizardModel.java └── web_hi_res_512.png /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | 4 | # Custom for Visual Studio 5 | *.cs diff=csharp 6 | *.sln merge=union 7 | *.csproj merge=union 8 | *.vbproj merge=union 9 | *.fsproj merge=union 10 | *.dbproj merge=union 11 | 12 | # Standard to msysgit 13 | *.doc diff=astextplain 14 | *.DOC diff=astextplain 15 | *.docx diff=astextplain 16 | *.DOCX diff=astextplain 17 | *.dot diff=astextplain 18 | *.DOT diff=astextplain 19 | *.pdf diff=astextplain 20 | *.PDF diff=astextplain 21 | *.rtf diff=astextplain 22 | *.RTF diff=astextplain 23 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | #Android generated 2 | bin 3 | gen 4 | lint.xml 5 | 6 | #Eclipse 7 | .project 8 | .classpath 9 | .settings 10 | .checkstyle 11 | 12 | #IntelliJ IDEA 13 | .idea 14 | *.iml 15 | *.ipr 16 | *.iws 17 | classes 18 | gen-external-apklibs 19 | 20 | #Maven 21 | target 22 | release.properties 23 | pom.xml.* 24 | 25 | #Ant 26 | build.xml 27 | ant.properties 28 | local.properties 29 | proguard.cfg 30 | proguard-project.txt 31 | 32 | #Other 33 | .DS_Store 34 | tmp -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | AWizard 2 | ========== 3 | 4 | Buy Me a Coffee at ko-fi.com 5 | 6 | ![AWizard](https://github.com/DWorkS/AWizard/raw/master/header.png) 7 | 8 | `AWizard` library can be used for creating wizards very easily. It's based of Roman Nurik's wizard pager (https://code.google.com/p/romannurik-code/source/browse/misc/wizardpager) 9 | 10 | You can use from out-of-box pages from the library or create your own pages easily. Review page and Done page can be placed any where. 11 | 12 | ## Sample App 13 | 14 | [![Get it on Google Play](http://www.android.com/images/brand/get_it_on_play_logo_small.png)](http://play.google.com/store/apps/details?id=dev.dworks.libs.awizard.demo) 15 | 16 | 17 | Developed By 18 | ============ 19 | 20 | * Hari Krishna Dulipudi - 21 | 22 | 23 | License 24 | ======= 25 | 26 | Copyright 2016 Hari Krishna Dulipudi 27 | 28 | Licensed under the Apache License, Version 2.0 (the "License"); 29 | you may not use this file except in compliance with the License. 30 | You may obtain a copy of the License at 31 | 32 | http://www.apache.org/licenses/LICENSE-2.0 33 | 34 | Unless required by applicable law or agreed to in writing, software 35 | distributed under the License is distributed on an "AS IS" BASIS, 36 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 37 | See the License for the specific language governing permissions and 38 | limitations under the License. 39 | 40 | 41 | 42 | 43 | 44 | [![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/DWorkS/awizard/trend.png)](https://bitdeli.com/free "Bitdeli Badge") 45 | 46 | -------------------------------------------------------------------------------- /header.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DWorkS/AWizard/0dc8c40588d16d565194eb8dfa39b25b976102ab/header.png -------------------------------------------------------------------------------- /library/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /library/proguard-project.txt: -------------------------------------------------------------------------------- 1 | # To enable ProGuard in your project, edit project.properties 2 | # to define the proguard.config property as described in that file. 3 | # 4 | # Add project specific ProGuard rules here. 5 | # By default, the flags in this file are appended to flags specified 6 | # in ${sdk.dir}/tools/proguard/proguard-android.txt 7 | # You can edit the include path and order by changing the ProGuard 8 | # include property in project.properties. 9 | # 10 | # For more details, see 11 | # http://developer.android.com/guide/developing/tools/proguard.html 12 | 13 | # Add any project specific keep options here: 14 | 15 | # If your project uses WebView with JS, uncomment the following 16 | # and specify the fully qualified class name to the JavaScript interface 17 | # class: 18 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 19 | # public *; 20 | #} 21 | -------------------------------------------------------------------------------- /library/project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | # Project target. 14 | target=android-19 15 | android.library=true 16 | android.library.reference.1=../../../Android Development/Android Developement Studio/work/appcompat_v7 17 | -------------------------------------------------------------------------------- /library/res/drawable-xhdpi/item_focused.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DWorkS/AWizard/0dc8c40588d16d565194eb8dfa39b25b976102ab/library/res/drawable-xhdpi/item_focused.9.png -------------------------------------------------------------------------------- /library/res/drawable-xhdpi/item_pressed.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DWorkS/AWizard/0dc8c40588d16d565194eb8dfa39b25b976102ab/library/res/drawable-xhdpi/item_pressed.9.png -------------------------------------------------------------------------------- /library/res/drawable/done_backgrounds.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /library/res/drawable/review_backgrounds.xml: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /library/res/drawable/selectable_item_background.xml: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /library/res/layout/activity_wizard.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 17 | 18 | 23 | 24 | 29 | 30 | 35 | 36 |