Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filled progressbar #264

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open

Filled progressbar #264

wants to merge 2 commits into from

Conversation

joymyr
Copy link

@joymyr joymyr commented Aug 21, 2018

Solves issue Filled ProgressBar #263

Slightly changed ms_stepper_layout to allow for a filled progress bar (fills width and height of the navigation bar) by setting a ms_stepperLayoutTheme similar to this:
    <style name="FilledProgressStepperLayoutTheme" parent="CustomStepperLayoutTheme">
        @style/FilledProgressStepperLayoutStyle
    </style>

    <style name="FilledProgressStepperLayoutStyle" parent="MSColorableProgressBar">
        match_parent
        match_parent
    </style>

The progress_bar stepper type can still be used as before by not applying a theme.

@codecov-io
Copy link

codecov-io commented Aug 21, 2018

Codecov Report

Merging #264 into develop will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             develop     #264   +/-   ##
==========================================
  Coverage      85.41%   85.41%           
  Complexity       266      266           
==========================================
  Files             30       30           
  Lines            994      994           
  Branches          85       85           
==========================================
  Hits             849      849           
  Misses           117      117           
  Partials          28       28

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7c82ab6...f8cee88. Read the comment docs.

… (fills width and height of the navigation bar) by setting a ms_stepperLayoutTheme similar to this:

    <style name="FilledProgressStepperLayoutTheme" parent="CustomStepperLayoutTheme">
        <item name="ms_colorableProgressBarStyle">@style/FilledProgressStepperLayoutStyle</item>
    </style>

    <style name="FilledProgressStepperLayoutStyle" parent="MSColorableProgressBar">
        <item name="android:layout_width">match_parent</item>
        <item name="android:layout_height">match_parent</item>
    </style>

The progress_bar stepper type can still be used as before by not applying a theme.

(cherry picked from commit 29b8146)
@joymyr joymyr changed the base branch from master to develop November 12, 2019 08:33
@joymyr
Copy link
Author

joymyr commented Nov 12, 2019

Sorry, I tried to merge against master instead of develop. Now it's correct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants