├── sample ├── .gitignore ├── src │ ├── main │ │ ├── res │ │ │ ├── values │ │ │ │ ├── dimens.xml │ │ │ │ ├── drawables.xml │ │ │ │ └── colors.xml │ │ │ ├── values-w720dp │ │ │ │ └── dimens.xml │ │ │ ├── mipmap-hdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-mdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xhdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxhdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxxhdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── anim │ │ │ │ ├── double_cycle_interpolator.xml │ │ │ │ └── shake_error.xml │ │ │ ├── values-ldrtl │ │ │ │ └── drawables.xml │ │ │ ├── color │ │ │ │ ├── ms_disabling_button_text_color_selector.xml │ │ │ │ └── ms_custom_button_text_color.xml │ │ │ ├── drawable │ │ │ │ ├── ms_right_arrow.xml │ │ │ │ └── ms_button_background.xml │ │ │ ├── layout │ │ │ │ ├── activity_themed_dots.xml │ │ │ │ ├── activity_custom_stepper_layout_theme.xml │ │ │ │ ├── dialog_loader.xml │ │ │ │ ├── activity_combination.xml │ │ │ │ ├── activity_default_dots.xml │ │ │ │ ├── activity_default_none.xml │ │ │ │ ├── activity_default_tabs.xml │ │ │ │ ├── activity_default_progress_bar.xml │ │ │ │ ├── activity_delayed_transition.xml │ │ │ │ ├── activity_error_tabs.xml │ │ │ │ ├── activity_pass_data_between_steps.xml │ │ │ │ ├── activity_return_button.xml │ │ │ │ ├── activity_disabled_tab_navigation.xml │ │ │ │ ├── activity_hidden_bottom_navigation.xml │ │ │ │ ├── activity_custom_navigation_buttons.xml │ │ │ │ ├── activity_no_frag.xml │ │ │ │ ├── activity_set_button_color_programmatically.xml │ │ │ │ ├── activity_error_custom_color_tabs.xml │ │ │ │ ├── activity_error_with_message_tabs.xml │ │ │ │ ├── fragment_step_delayed_transition.xml │ │ │ │ ├── activity_styled_tabs.xml │ │ │ │ ├── fragment_step_form.xml │ │ │ │ ├── activity_styled_dots.xml │ │ │ │ ├── fragment_with_text_content.xml │ │ │ │ ├── activity_styled_progress_bar.xml │ │ │ │ ├── activity_stepper_feedback.xml │ │ │ │ ├── fragment_step.xml │ │ │ │ ├── fragment_step2.xml │ │ │ │ ├── fragment_step3.xml │ │ │ │ ├── item_sample_info.xml │ │ │ │ └── activity_main.xml │ │ │ ├── layout-land │ │ │ │ └── activity_combination.xml │ │ │ ├── values-w600dp │ │ │ │ └── styles.xml │ │ │ ├── drawable-v21 │ │ │ │ └── ms_button_background.xml │ │ │ └── menu │ │ │ │ └── activity_stepper_feedback.xml │ │ ├── assets │ │ │ └── fonts │ │ │ │ └── Oswald-Stencbab.ttf │ │ └── java │ │ │ └── com │ │ │ └── stepstone │ │ │ └── stepper │ │ │ └── sample │ │ │ ├── ShowErrorTabActivity.kt │ │ │ ├── ShowErrorWithMessageTabActivity.kt │ │ │ ├── ShowErrorCustomColorTabActivity.kt │ │ │ ├── ShowErrorOnBackTabActivity.kt │ │ │ ├── adapter │ │ │ ├── FormFragmentStepAdapter.kt │ │ │ ├── PassDataBetweenStepsFragmentStepAdapter.kt │ │ │ ├── StepperFeedbackFragmentStepAdapter.kt │ │ │ ├── DelayedTransitionFragmentStepAdapter.kt │ │ │ ├── SampleFragmentStepAdapter.kt │ │ │ └── SampleStepAdapter.kt │ │ │ ├── OnProceedListener.kt │ │ │ ├── DataManager.kt │ │ │ ├── OnNavigationBarListener.kt │ │ │ ├── CombinationActivity.kt │ │ │ ├── StyledDotsActivity.kt │ │ │ ├── StyledTabsActivity.kt │ │ │ ├── ThemedDotsActivity.kt │ │ │ ├── DefaultDotsActivity.kt │ │ │ ├── DefaultTabsActivity.kt │ │ │ ├── ReturnButtonActivity.kt │ │ │ ├── StyledProgressBarActivity.kt │ │ │ ├── DefaultProgressBarActivity.kt │ │ │ ├── DisabledTabNavigationActivity.kt │ │ │ ├── HiddenBottomNavigationActivity.kt │ │ │ ├── DefaultNoneActivity.kt │ │ │ ├── CustomStepperLayoutThemeActivity.kt │ │ │ ├── step │ │ │ ├── fragment │ │ │ │ ├── ButterKnifeFragment.kt │ │ │ │ └── PassDataBetweenStepsSecondStepFragment.kt │ │ │ └── view │ │ │ │ └── StepViewSample.kt │ │ │ ├── SetButtonColorProgrammaticallyActivity.kt │ │ │ ├── CustomPageTransformerActivity.kt │ │ │ ├── DelayedTransitionStepperActivity.kt │ │ │ └── NoFragmentsActivity.kt │ └── androidTest │ │ └── java │ │ └── com │ │ └── stepstone │ │ └── stepper │ │ ├── sample │ │ ├── test │ │ │ ├── runner │ │ │ │ └── TestButlerRunner.java │ │ │ ├── matcher │ │ │ │ └── ViewPagerPositionMatcher.java │ │ │ └── spoon │ │ │ │ └── Chmod.java │ │ ├── AbstractActivityTest.java │ │ ├── DefaultDotsActivityTest.java │ │ ├── DefaultNoneActivityTest.java │ │ ├── StyledDotsActivityTest.java │ │ ├── ThemedDotsActivityTest.java │ │ └── DefaultProgressBarActivityTest.java │ │ └── internal │ │ └── widget │ │ └── StepTabStateMatcher.java ├── lint.xml ├── proguard-rules.pro ├── code_coverage.gradle └── screenshots.gradle ├── material-stepper ├── .gitignore ├── src │ ├── main │ │ ├── res │ │ │ ├── values │ │ │ │ ├── booleans.xml │ │ │ │ ├── numbers.xml │ │ │ │ ├── strings.xml │ │ │ │ ├── drawables.xml │ │ │ │ ├── paths.xml │ │ │ │ ├── colors.xml │ │ │ │ └── dimens.xml │ │ │ ├── values-ldrtl │ │ │ │ ├── booleans.xml │ │ │ │ └── drawables.xml │ │ │ ├── drawable-hdpi │ │ │ │ ├── ms_ic_chevron_left.png │ │ │ │ └── ms_ic_chevron_right.png │ │ │ ├── drawable-mdpi │ │ │ │ ├── ms_ic_chevron_left.png │ │ │ │ └── ms_ic_chevron_right.png │ │ │ ├── drawable-xhdpi │ │ │ │ ├── ms_ic_chevron_left.png │ │ │ │ └── ms_ic_chevron_right.png │ │ │ ├── drawable-xxhdpi │ │ │ │ ├── ms_ic_chevron_left.png │ │ │ │ └── ms_ic_chevron_right.png │ │ │ ├── drawable │ │ │ │ ├── ms_circle.xml │ │ │ │ ├── ms_vertical_tab_divider.xml │ │ │ │ ├── ms_ic_check.xml │ │ │ │ ├── ms_colorable_progress_bar.xml │ │ │ │ ├── ms_vector_circle_24dp.xml │ │ │ │ ├── ms_vector_warning_24dp.xml │ │ │ │ ├── ms_tab_container_pre_lollipop_background.xml │ │ │ │ ├── ms_animated_vector_circle_to_warning_24dp.xml │ │ │ │ ├── ms_animated_vector_warning_to_circle_24dp.xml │ │ │ │ └── ms_default_button_background.xml │ │ │ ├── layout │ │ │ │ ├── ms_dot.xml │ │ │ │ ├── ms_step_tab_container.xml │ │ │ │ └── ms_tabs_container.xml │ │ │ ├── values-v21 │ │ │ │ └── styles.xml │ │ │ └── drawable-v21 │ │ │ │ └── ms_default_button_background.xml │ │ ├── java │ │ │ └── com │ │ │ │ └── stepstone │ │ │ │ └── stepper │ │ │ │ ├── internal │ │ │ │ ├── type │ │ │ │ │ ├── NoneStepperType.java │ │ │ │ │ ├── StepperTypeFactory.java │ │ │ │ │ └── ProgressBarStepperType.java │ │ │ │ ├── widget │ │ │ │ │ ├── pagetransformer │ │ │ │ │ │ ├── StepPageTransformerFactory.java │ │ │ │ │ │ └── StepperRtlPageTransformer.java │ │ │ │ │ └── StepViewPager.java │ │ │ │ ├── util │ │ │ │ │ └── ObjectsCompat.java │ │ │ │ └── feedback │ │ │ │ │ ├── ContentProgressStepperFeedbackType.java │ │ │ │ │ ├── DisabledBottomNavigationStepperFeedbackType.java │ │ │ │ │ ├── DisabledContentInteractionStepperFeedbackType.java │ │ │ │ │ ├── StepperFeedbackType.java │ │ │ │ │ ├── ContentFadeStepperFeedbackType.java │ │ │ │ │ ├── StepperFeedbackTypeComposite.java │ │ │ │ │ └── ContentOverlayStepperFeedbackType.java │ │ │ │ ├── VerificationError.java │ │ │ │ ├── adapter │ │ │ │ ├── AbstractStepAdapter.java │ │ │ │ └── StepAdapter.java │ │ │ │ └── Step.java │ │ └── AndroidManifest.xml │ └── test │ │ └── java │ │ └── com │ │ └── stepstone │ │ └── stepper │ │ ├── test │ │ ├── TestApplication.kt │ │ ├── test_double │ │ │ ├── DummyStepFragment.kt │ │ │ ├── StepperLayoutActivity.kt │ │ │ ├── SpyStepAdapter.kt │ │ │ └── StepperLayoutWithAdapterActivity.kt │ │ ├── runner │ │ │ └── StepperRobolectricTestRunner.kt │ │ └── assertion │ │ │ ├── StepperFeedbackTypeCompositeAssert.kt │ │ │ └── StepViewModelAssert.kt │ │ └── internal │ │ ├── feedback │ │ ├── ContentProgressStepperFeedbackTypeTest.kt │ │ ├── DisabledBottomNavigationStepperFeedbackTypeTest.kt │ │ ├── DisabledContentInteractionStepperFeedbackTypeTest.kt │ │ ├── ContentFadeStepperFeedbackTypeTest.kt │ │ └── StepperFeedbackTypeCompositeTest.kt │ │ └── widget │ │ ├── StepTabAssert.kt │ │ ├── pagetransformer │ │ └── StepperRtlPageTransformerTest.kt │ │ └── StepViewPagerTest.kt ├── proguard-rules.pro └── code_coverage.gradle ├── espresso-material-stepper ├── .gitignore ├── src │ └── main │ │ ├── AndroidManifest.xml │ │ └── java │ │ └── com │ │ └── stepstone │ │ └── stepper │ │ └── test │ │ └── idling │ │ └── CustomViewPagerListener.java └── build.gradle ├── settings.gradle ├── gifs ├── none.gif ├── tabs.gif ├── custom-theme.gif ├── tabs-styled.gif ├── error-on-tabs.gif ├── stepper-feedback.gif ├── delayed-transition.gif ├── dotted-progress-bar.gif ├── linear-progress-bar.gif ├── custom-navigation-buttons.gif ├── dotted-progress-bar-styled.gif └── linear-progress-bar-styled.gif ├── art ├── stepstone-logo.png └── material-stepper-logo.png ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── .github ├── PULL_REQUEST_TEMPLATE.md ├── ISSUE_TEMPLATE.md └── CONTRIBUTING.md ├── config ├── quality │ ├── findbugs │ │ └── android-exclude-filter.xml │ ├── pmd │ │ └── pmd-ruleset.xml │ └── quality.gradle └── project_properties.gradle ├── .gitignore ├── gradle.properties ├── installv1.gradle └── bintrayv1.gradle /sample/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /material-stepper/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /espresso-material-stepper/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':sample', ':material-stepper', ':espresso-material-stepper' 2 | -------------------------------------------------------------------------------- /gifs/none.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stepstone-tech/android-material-stepper/HEAD/gifs/none.gif -------------------------------------------------------------------------------- /gifs/tabs.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stepstone-tech/android-material-stepper/HEAD/gifs/tabs.gif -------------------------------------------------------------------------------- /gifs/custom-theme.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stepstone-tech/android-material-stepper/HEAD/gifs/custom-theme.gif -------------------------------------------------------------------------------- /gifs/tabs-styled.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stepstone-tech/android-material-stepper/HEAD/gifs/tabs-styled.gif -------------------------------------------------------------------------------- /art/stepstone-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stepstone-tech/android-material-stepper/HEAD/art/stepstone-logo.png -------------------------------------------------------------------------------- /gifs/error-on-tabs.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stepstone-tech/android-material-stepper/HEAD/gifs/error-on-tabs.gif -------------------------------------------------------------------------------- /gifs/stepper-feedback.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stepstone-tech/android-material-stepper/HEAD/gifs/stepper-feedback.gif -------------------------------------------------------------------------------- /sample/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 480dp 3 | 4 | -------------------------------------------------------------------------------- /art/material-stepper-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stepstone-tech/android-material-stepper/HEAD/art/material-stepper-logo.png -------------------------------------------------------------------------------- /gifs/delayed-transition.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stepstone-tech/android-material-stepper/HEAD/gifs/delayed-transition.gif -------------------------------------------------------------------------------- /gifs/dotted-progress-bar.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stepstone-tech/android-material-stepper/HEAD/gifs/dotted-progress-bar.gif -------------------------------------------------------------------------------- /gifs/linear-progress-bar.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stepstone-tech/android-material-stepper/HEAD/gifs/linear-progress-bar.gif -------------------------------------------------------------------------------- /sample/src/main/res/values-w720dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 600dp 3 | 4 | -------------------------------------------------------------------------------- /gifs/custom-navigation-buttons.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stepstone-tech/android-material-stepper/HEAD/gifs/custom-navigation-buttons.gif -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stepstone-tech/android-material-stepper/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gifs/dotted-progress-bar-styled.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stepstone-tech/android-material-stepper/HEAD/gifs/dotted-progress-bar-styled.gif -------------------------------------------------------------------------------- /gifs/linear-progress-bar-styled.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stepstone-tech/android-material-stepper/HEAD/gifs/linear-progress-bar-styled.gif -------------------------------------------------------------------------------- /sample/lint.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /sample/src/main/assets/fonts/Oswald-Stencbab.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stepstone-tech/android-material-stepper/HEAD/sample/src/main/assets/fonts/Oswald-Stencbab.ttf -------------------------------------------------------------------------------- /sample/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stepstone-tech/android-material-stepper/HEAD/sample/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /sample/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stepstone-tech/android-material-stepper/HEAD/sample/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /sample/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stepstone-tech/android-material-stepper/HEAD/sample/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /sample/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stepstone-tech/android-material-stepper/HEAD/sample/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /espresso-material-stepper/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | -------------------------------------------------------------------------------- /sample/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stepstone-tech/android-material-stepper/HEAD/sample/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /material-stepper/src/main/res/values/booleans.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | false 5 | 6 | 7 | -------------------------------------------------------------------------------- /material-stepper/src/main/res/values-ldrtl/booleans.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | true 5 | 6 | 7 | -------------------------------------------------------------------------------- /sample/src/main/res/anim/double_cycle_interpolator.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /material-stepper/src/main/res/drawable-hdpi/ms_ic_chevron_left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stepstone-tech/android-material-stepper/HEAD/material-stepper/src/main/res/drawable-hdpi/ms_ic_chevron_left.png -------------------------------------------------------------------------------- /material-stepper/src/main/res/drawable-mdpi/ms_ic_chevron_left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stepstone-tech/android-material-stepper/HEAD/material-stepper/src/main/res/drawable-mdpi/ms_ic_chevron_left.png -------------------------------------------------------------------------------- /material-stepper/src/main/res/drawable-hdpi/ms_ic_chevron_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stepstone-tech/android-material-stepper/HEAD/material-stepper/src/main/res/drawable-hdpi/ms_ic_chevron_right.png -------------------------------------------------------------------------------- /material-stepper/src/main/res/drawable-mdpi/ms_ic_chevron_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stepstone-tech/android-material-stepper/HEAD/material-stepper/src/main/res/drawable-mdpi/ms_ic_chevron_right.png -------------------------------------------------------------------------------- /material-stepper/src/main/res/drawable-xhdpi/ms_ic_chevron_left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stepstone-tech/android-material-stepper/HEAD/material-stepper/src/main/res/drawable-xhdpi/ms_ic_chevron_left.png -------------------------------------------------------------------------------- /material-stepper/src/main/res/drawable-xhdpi/ms_ic_chevron_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stepstone-tech/android-material-stepper/HEAD/material-stepper/src/main/res/drawable-xhdpi/ms_ic_chevron_right.png -------------------------------------------------------------------------------- /material-stepper/src/main/res/drawable-xxhdpi/ms_ic_chevron_left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stepstone-tech/android-material-stepper/HEAD/material-stepper/src/main/res/drawable-xxhdpi/ms_ic_chevron_left.png -------------------------------------------------------------------------------- /material-stepper/src/main/res/drawable-xxhdpi/ms_ic_chevron_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stepstone-tech/android-material-stepper/HEAD/material-stepper/src/main/res/drawable-xxhdpi/ms_ic_chevron_right.png -------------------------------------------------------------------------------- /material-stepper/src/main/res/drawable/ms_circle.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | -------------------------------------------------------------------------------- /sample/src/main/res/values/drawables.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | @drawable/ms_right_arrow 4 | @drawable/abc_ic_ab_back_material 5 | -------------------------------------------------------------------------------- /material-stepper/src/main/res/values/numbers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 300 5 | 6 | 2 7 | 8 | -------------------------------------------------------------------------------- /sample/src/main/res/values-ldrtl/drawables.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | @drawable/abc_ic_ab_back_material 4 | @drawable/ms_right_arrow 5 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Fri Oct 21 16:27:14 CEST 2016 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip 7 | -------------------------------------------------------------------------------- /sample/src/main/res/anim/shake_error.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /material-stepper/src/main/res/layout/ms_dot.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /sample/src/main/java/com/stepstone/stepper/sample/ShowErrorTabActivity.kt: -------------------------------------------------------------------------------- 1 | package com.stepstone.stepper.sample 2 | 3 | /** 4 | * Created by leonardo on 1/16/17. 5 | */ 6 | 7 | class ShowErrorTabActivity : AbstractStepperActivity() { 8 | 9 | override val layoutResId: Int 10 | get() = R.layout.activity_error_tabs 11 | } -------------------------------------------------------------------------------- /sample/src/main/res/color/ms_disabling_button_text_color_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /sample/src/main/res/drawable/ms_right_arrow.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /material-stepper/src/main/res/drawable/ms_vertical_tab_divider.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /sample/src/main/java/com/stepstone/stepper/sample/ShowErrorWithMessageTabActivity.kt: -------------------------------------------------------------------------------- 1 | package com.stepstone.stepper.sample 2 | 3 | /** 4 | * Created by leonardo on 1/16/17. 5 | */ 6 | 7 | class ShowErrorWithMessageTabActivity : AbstractStepperActivity() { 8 | 9 | override val layoutResId: Int 10 | get() = R.layout.activity_error_with_message_tabs 11 | } -------------------------------------------------------------------------------- /sample/src/main/java/com/stepstone/stepper/sample/ShowErrorCustomColorTabActivity.kt: -------------------------------------------------------------------------------- 1 | package com.stepstone.stepper.sample 2 | 3 | /** 4 | * Created by leonardo on 1/16/17. 5 | */ 6 | 7 | class ShowErrorCustomColorTabActivity : AbstractStepperActivity() { 8 | 9 | override val layoutResId: Int 10 | get() = R.layout.activity_error_custom_color_tabs 11 | 12 | } 13 | -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | Make sure these boxes are checked before submitting your PR - thank you! 2 | 3 | - [ ] Pull request is being merged to the `develop` branch. 4 | - [ ] There's a reference to an *Issue* which this solves. 5 | - [ ] For new features a sample has been added to the sample app 6 | illustrating this feature's behaviour. 7 | - [ ] Commits are squashed to a single commit. -------------------------------------------------------------------------------- /material-stepper/src/main/res/drawable/ms_ic_check.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | -------------------------------------------------------------------------------- /sample/src/main/res/layout/activity_themed_dots.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /sample/src/main/res/layout-land/activity_combination.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /sample/src/main/res/layout/activity_custom_stepper_layout_theme.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /sample/src/main/res/color/ms_custom_button_text_color.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /sample/src/main/res/layout/dialog_loader.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 11 | 12 | -------------------------------------------------------------------------------- /sample/src/main/res/layout/activity_combination.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /sample/src/main/res/layout/activity_default_dots.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /sample/src/main/res/layout/activity_default_none.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /sample/src/main/res/layout/activity_default_tabs.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /sample/src/main/res/layout/activity_default_progress_bar.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /config/quality/findbugs/android-exclude-filter.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | Make sure these boxes are checked before submitting your issue - thank you! 2 | 3 | - [ ] Check in the issue tracker whether 4 | this issue wasn't already reported. 5 | - [ ] If it's a bug report check that clear **steps to reproduce**, 6 | **stacktrace**, **expected behaviour** and other needed details are provided. 7 | - [ ] Feature requests contain a **description** of the feature 8 | you're requesting as well as a brief **scenario** explaining 9 | under what circumstances this might be useful. -------------------------------------------------------------------------------- /material-stepper/src/main/res/drawable/ms_colorable_progress_bar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /sample/src/main/res/layout/activity_delayed_transition.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /sample/src/main/res/layout/activity_error_tabs.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /material-stepper/src/main/java/com/stepstone/stepper/internal/type/NoneStepperType.java: -------------------------------------------------------------------------------- 1 | package com.stepstone.stepper.internal.type; 2 | 3 | import com.stepstone.stepper.StepperLayout; 4 | 5 | /** 6 | * Created by yccheok on 29/6/2017. 7 | */ 8 | 9 | public class NoneStepperType extends AbstractStepperType { 10 | public NoneStepperType(StepperLayout stepperLayout) { 11 | super(stepperLayout); 12 | } 13 | 14 | @Override 15 | public void onStepSelected(int newStepPosition, boolean userTriggeredChange) { 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /sample/src/main/res/layout/activity_pass_data_between_steps.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /sample/src/main/res/layout/activity_return_button.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /material-stepper/src/main/res/layout/ms_step_tab_container.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /sample/src/main/res/layout/activity_disabled_tab_navigation.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /sample/src/main/res/layout/activity_hidden_bottom_navigation.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /sample/src/main/res/layout/activity_custom_navigation_buttons.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /sample/src/main/res/layout/activity_no_frag.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /material-stepper/src/main/res/drawable/ms_vector_circle_24dp.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 10 | 11 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /sample/src/main/res/layout/activity_set_button_color_programmatically.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Built application files 2 | *.apk 3 | *.ap_ 4 | 5 | # Files for the ART/Dalvik VM 6 | *.dex 7 | 8 | # Java class files 9 | *.class 10 | 11 | # Generated files 12 | bin/ 13 | gen/ 14 | out/ 15 | 16 | # Gradle files 17 | .gradle/ 18 | build/ 19 | 20 | # Local configuration file (sdk path, etc) 21 | local.properties 22 | .DS_Store 23 | 24 | # Log Files 25 | *.log 26 | 27 | # Android Studio Navigation editor temp files 28 | .navigation/ 29 | 30 | # Android Studio captures folder 31 | captures/ 32 | 33 | # Intellij 34 | *.iml 35 | .idea 36 | 37 | # Keystore files 38 | *.jks 39 | -------------------------------------------------------------------------------- /sample/src/main/res/layout/activity_error_custom_color_tabs.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /sample/src/main/res/layout/activity_error_with_message_tabs.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /config/project_properties.gradle: -------------------------------------------------------------------------------- 1 | def final String PROPERTY_ADB_INSTALL_OPTIONS = 'test.integration.options.adbInstallOptions' 2 | 3 | /** 4 | * Returns adbInstallOptions to use. This is needed because different adb install options are supported depending on OS version. 5 | * @return 6 | */ 7 | ext.getAdbInstallOptions = { 8 | def adbInstallOptions = (project.hasProperty(PROPERTY_ADB_INSTALL_OPTIONS) ? project.getProperties().get(PROPERTY_ADB_INSTALL_OPTIONS).split(',') : ['-g', '-r']) as String[] 9 | println("Running with adbInstallOptions: $adbInstallOptions") 10 | return adbInstallOptions 11 | } -------------------------------------------------------------------------------- /material-stepper/src/main/res/drawable/ms_vector_warning_24dp.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 10 | 11 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /.github/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | All contributions are welcome and encouraged! 2 | 3 | Before creating an issue please check in the issue tracker whether 4 | this issue wasn't already reported. 5 | 6 | Pull requests should be merged to the ```develop``` branch (Rebase & merge preferred). 7 | When adding new changes, please squash the commits together. 8 | 9 | Once ```develop``` is stable and we're ready to release the next version 10 | it will be merged to the ```master``` branch. Next, a new version will be 11 | uploaded to Bintray and a new release will be created on GitHub. 12 | Library releases must be made from the ```master``` branch. -------------------------------------------------------------------------------- /sample/src/main/java/com/stepstone/stepper/sample/ShowErrorOnBackTabActivity.kt: -------------------------------------------------------------------------------- 1 | package com.stepstone.stepper.sample 2 | 3 | import android.os.Bundle 4 | 5 | /** 6 | * Created by leonardo on 10/01/17. 7 | */ 8 | 9 | class ShowErrorOnBackTabActivity : AbstractStepperActivity() { 10 | 11 | override val layoutResId: Int 12 | get() = R.layout.activity_default_tabs 13 | 14 | override fun onCreate(savedInstanceState: Bundle?) { 15 | super.onCreate(savedInstanceState) 16 | stepperLayout.isShowErrorStateEnabled = true 17 | stepperLayout.isShowErrorStateOnBackEnabled = true 18 | } 19 | 20 | } -------------------------------------------------------------------------------- /material-stepper/src/test/java/com/stepstone/stepper/test/TestApplication.kt: -------------------------------------------------------------------------------- 1 | package com.stepstone.stepper.test 2 | 3 | import android.app.Application 4 | 5 | import org.mockito.MockitoAnnotations 6 | import org.robolectric.TestLifecycleApplication 7 | 8 | import java.lang.reflect.Method 9 | 10 | /** 11 | * @author Piotr Zawadzki 12 | */ 13 | class TestApplication : Application(), TestLifecycleApplication { 14 | 15 | override fun beforeTest(method: Method) {} 16 | 17 | override fun prepareTest(test: Any) { 18 | MockitoAnnotations.initMocks(test)//initialize all the mocks that were specified using annotations 19 | } 20 | 21 | override fun afterTest(method: Method) {} 22 | 23 | } -------------------------------------------------------------------------------- /sample/src/main/res/layout/fragment_step_delayed_transition.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /material-stepper/src/main/res/drawable/ms_tab_container_pre_lollipop_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | 11 | 12 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /sample/src/main/java/com/stepstone/stepper/sample/adapter/FormFragmentStepAdapter.kt: -------------------------------------------------------------------------------- 1 | package com.stepstone.stepper.sample.adapter 2 | 3 | import android.content.Context 4 | import android.support.v4.app.FragmentManager 5 | 6 | import com.stepstone.stepper.Step 7 | import com.stepstone.stepper.adapter.AbstractFragmentStepAdapter 8 | import com.stepstone.stepper.sample.step.fragment.FormStepFragment 9 | 10 | class FormFragmentStepAdapter(fm: FragmentManager, context: Context) : AbstractFragmentStepAdapter(fm, context) { 11 | 12 | override fun createStep(position: Int): Step { 13 | return FormStepFragment.newInstance() 14 | } 15 | 16 | override fun getCount(): Int { 17 | return 3 18 | } 19 | } -------------------------------------------------------------------------------- /sample/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in C:\Users\Francis\AppData\Local\Android\sdk/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | -------------------------------------------------------------------------------- /material-stepper/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in C:\Users\Francis\AppData\Local\Android\sdk/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | -------------------------------------------------------------------------------- /material-stepper/src/test/java/com/stepstone/stepper/test/test_double/DummyStepFragment.kt: -------------------------------------------------------------------------------- 1 | package com.stepstone.stepper 2 | 3 | import android.os.Bundle 4 | import android.support.v4.app.Fragment 5 | import android.view.LayoutInflater 6 | import android.view.View 7 | import android.view.ViewGroup 8 | 9 | /** 10 | * A dummy fragment with no view. 11 | */ 12 | open class DummyStepFragment : Fragment(), Step { 13 | 14 | override fun verifyStep(): VerificationError? { 15 | return null 16 | } 17 | 18 | override fun onSelected() {} 19 | 20 | override fun onCreateView(inflater: LayoutInflater?, container: ViewGroup?, savedInstanceState: Bundle?): View? { 21 | return null 22 | } 23 | 24 | override fun onError(error: VerificationError) {} 25 | } -------------------------------------------------------------------------------- /sample/src/main/res/values-w600dp/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 10 | 11 | 14 | 15 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /material-stepper/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /sample/src/main/java/com/stepstone/stepper/sample/OnProceedListener.kt: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2016 StepStone Services 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | package com.stepstone.stepper.sample 18 | 19 | interface OnProceedListener { 20 | 21 | fun onProceed() 22 | 23 | } 24 | -------------------------------------------------------------------------------- /sample/src/main/res/layout/activity_styled_tabs.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /sample/src/main/res/layout/fragment_step_form.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /sample/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #2e536e 4 | #264358 5 | #018381 6 | 7 | #8E24AA 8 | #6a1b9a 9 | 10 | #424242 11 | #000000 12 | 13 | #DD000000 14 | 15 | #DDFFFFFF 16 | 17 | #89000000 18 | 19 | #483f9ab1 20 | 21 | #30BDBDBD 22 | 23 | 24 | -------------------------------------------------------------------------------- /sample/src/main/res/layout/activity_styled_dots.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /sample/src/main/java/com/stepstone/stepper/sample/DataManager.kt: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2017 StepStone Services 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | package com.stepstone.stepper.sample 18 | 19 | interface DataManager { 20 | 21 | fun saveData(data: String?) 22 | 23 | fun getData(): String? 24 | 25 | } 26 | -------------------------------------------------------------------------------- /sample/src/androidTest/java/com/stepstone/stepper/sample/test/runner/TestButlerRunner.java: -------------------------------------------------------------------------------- 1 | package com.stepstone.stepper.sample.test.runner; 2 | 3 | import android.os.Bundle; 4 | import android.support.test.InstrumentationRegistry; 5 | import android.support.test.runner.AndroidJUnitRunner; 6 | 7 | import com.linkedin.android.testbutler.TestButler; 8 | 9 | /** 10 | * @author Piotr Zawadzki 11 | */ 12 | public class TestButlerRunner extends AndroidJUnitRunner { 13 | 14 | @Override 15 | public void onStart() { 16 | TestButler.setup(InstrumentationRegistry.getTargetContext()); 17 | super.onStart(); 18 | } 19 | 20 | @Override 21 | public void finish(int resultCode, Bundle results) { 22 | TestButler.teardown(InstrumentationRegistry.getTargetContext()); 23 | super.finish(resultCode, results); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /sample/src/main/java/com/stepstone/stepper/sample/OnNavigationBarListener.kt: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2016 StepStone Services 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | package com.stepstone.stepper.sample 18 | 19 | interface OnNavigationBarListener { 20 | 21 | fun onChangeEndButtonsEnabled(enabled: Boolean) 22 | 23 | } 24 | -------------------------------------------------------------------------------- /material-stepper/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | BACK 19 | NEXT 20 | COMPLETE 21 | 22 | -------------------------------------------------------------------------------- /material-stepper/src/main/res/values/drawables.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | @drawable/ms_ic_chevron_left 19 | @drawable/ms_ic_chevron_right 20 | -------------------------------------------------------------------------------- /sample/src/main/java/com/stepstone/stepper/sample/CombinationActivity.kt: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2016 StepStone Services 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | package com.stepstone.stepper.sample 18 | 19 | class CombinationActivity : AbstractStepperActivity() { 20 | 21 | override val layoutResId: Int 22 | get() = R.layout.activity_combination 23 | 24 | } 25 | -------------------------------------------------------------------------------- /sample/src/main/java/com/stepstone/stepper/sample/StyledDotsActivity.kt: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2016 StepStone Services 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | package com.stepstone.stepper.sample 18 | 19 | class StyledDotsActivity : AbstractStepperActivity() { 20 | 21 | override val layoutResId: Int 22 | get() = R.layout.activity_styled_dots 23 | 24 | } 25 | -------------------------------------------------------------------------------- /sample/src/main/java/com/stepstone/stepper/sample/StyledTabsActivity.kt: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2016 StepStone Services 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | package com.stepstone.stepper.sample 18 | 19 | class StyledTabsActivity : AbstractStepperActivity() { 20 | 21 | override val layoutResId: Int 22 | get() = R.layout.activity_styled_tabs 23 | 24 | } 25 | -------------------------------------------------------------------------------- /sample/src/main/java/com/stepstone/stepper/sample/ThemedDotsActivity.kt: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2016 StepStone Services 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | package com.stepstone.stepper.sample 18 | 19 | class ThemedDotsActivity : AbstractStepperActivity() { 20 | 21 | override val layoutResId: Int 22 | get() = R.layout.activity_themed_dots 23 | 24 | } 25 | -------------------------------------------------------------------------------- /sample/src/main/java/com/stepstone/stepper/sample/DefaultDotsActivity.kt: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2016 StepStone Services 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | package com.stepstone.stepper.sample 18 | 19 | class DefaultDotsActivity : AbstractStepperActivity() { 20 | 21 | override val layoutResId: Int 22 | get() = R.layout.activity_default_dots 23 | 24 | } 25 | -------------------------------------------------------------------------------- /sample/src/main/java/com/stepstone/stepper/sample/DefaultTabsActivity.kt: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2016 StepStone Services 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | package com.stepstone.stepper.sample 18 | 19 | class DefaultTabsActivity : AbstractStepperActivity() { 20 | 21 | override val layoutResId: Int 22 | get() = R.layout.activity_default_tabs 23 | 24 | } 25 | -------------------------------------------------------------------------------- /sample/src/main/java/com/stepstone/stepper/sample/ReturnButtonActivity.kt: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2016 StepStone Services 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | package com.stepstone.stepper.sample 18 | 19 | class ReturnButtonActivity : AbstractStepperActivity() { 20 | 21 | override val layoutResId: Int 22 | get() = R.layout.activity_return_button 23 | 24 | } 25 | -------------------------------------------------------------------------------- /material-stepper/src/main/res/values-ldrtl/drawables.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | @drawable/ms_ic_chevron_right 19 | @drawable/ms_ic_chevron_left 20 | -------------------------------------------------------------------------------- /sample/src/main/java/com/stepstone/stepper/sample/StyledProgressBarActivity.kt: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2016 StepStone Services 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | package com.stepstone.stepper.sample 18 | 19 | class StyledProgressBarActivity : AbstractStepperActivity() { 20 | 21 | override val layoutResId: Int 22 | get() = R.layout.activity_styled_progress_bar 23 | 24 | } 25 | -------------------------------------------------------------------------------- /sample/src/main/java/com/stepstone/stepper/sample/DefaultProgressBarActivity.kt: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2016 StepStone Services 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | package com.stepstone.stepper.sample 18 | 19 | class DefaultProgressBarActivity : AbstractStepperActivity() { 20 | 21 | override val layoutResId: Int 22 | get() = R.layout.activity_default_progress_bar 23 | 24 | } 25 | -------------------------------------------------------------------------------- /sample/src/main/java/com/stepstone/stepper/sample/DisabledTabNavigationActivity.kt: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2017 StepStone Services 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | package com.stepstone.stepper.sample 18 | 19 | class DisabledTabNavigationActivity : AbstractStepperActivity() { 20 | 21 | override val layoutResId: Int 22 | get() = R.layout.activity_disabled_tab_navigation 23 | 24 | } 25 | -------------------------------------------------------------------------------- /sample/src/main/java/com/stepstone/stepper/sample/HiddenBottomNavigationActivity.kt: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2017 StepStone Services 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | package com.stepstone.stepper.sample 18 | 19 | class HiddenBottomNavigationActivity : AbstractStepperActivity() { 20 | 21 | override val layoutResId: Int 22 | get() = R.layout.activity_hidden_bottom_navigation 23 | 24 | } 25 | -------------------------------------------------------------------------------- /sample/src/main/java/com/stepstone/stepper/sample/DefaultNoneActivity.kt: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2016 StepStone Services 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | package com.stepstone.stepper.sample 18 | 19 | /** 20 | * @author Piotr Zawadzki 21 | */ 22 | class DefaultNoneActivity : AbstractStepperActivity() { 23 | 24 | override val layoutResId: Int 25 | get() = R.layout.activity_default_none 26 | 27 | } 28 | -------------------------------------------------------------------------------- /material-stepper/src/main/res/values-v21/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 23 | 24 | -------------------------------------------------------------------------------- /sample/src/main/res/layout/fragment_with_text_content.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 |