Skip to content

Rounded corners of ProgressBarGroup breaks if maximum #223

@theisgroenbech

Description

@theisgroenbech

This code will make the left of the bargroup round, however the right will be squared.

`<com.beardedhen.androidbootstrap.BootstrapProgressBarGroup
android:id="@+id/barGroup"
android:layout_width="match_parent"
android:layout_height="12dp"
android:layout_gravity="bottom"
app:bootstrapMaxProgress="100"
app:bootstrapSize="lg"
app:roundedCorners="true">

    <com.beardedhen.androidbootstrap.BootstrapProgressBar
        android:id="@+id/homeBar"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        app:bootstrapBrand="danger"
        app:bootstrapProgress="30"
        app:roundedCorners="true" />

    <com.beardedhen.androidbootstrap.BootstrapProgressBar
        android:id="@+id/awayBar"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        app:bootstrapBrand="warning"
        app:bootstrapProgress="70"
        app:roundedCorners="true" />
</com.beardedhen.androidbootstrap.BootstrapProgressBarGroup>`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions