Skip to content

Radio button shows circle on the left #90

@JcDenton86

Description

@JcDenton86

Hi,

I am using this library and while is shows the segments, within it shows the circles of the radio buttons.
I am attaching a screenshot with the issue.

screen shot 2018-06-12 at 09 41 07

and here is the xml code

<info.hoang8f.android.segmented.SegmentedGroup xmlns:segmentedgroup="http://schemas.android.com/apk/res-auto"
        android:layout_width="match_parent"
        android:layout_height="30dp"
        android:gravity="center_horizontal"
        android:orientation="horizontal"
        segmentedgroup:sc_border_width="2dp"
        segmentedgroup:sc_checked_text_color="@color/whiteColor"
        segmentedgroup:sc_corner_radius="8dp"
        segmentedgroup:sc_tint_color="@color/colorPrimary">

        <RadioButton
            style="@style/RadioButton"
            android:layout_width="100dp"
            android:layout_height="match_parent"
            android:checked="true"
            android:text="test"
            android:textSize="14sp" />

        <RadioButton
            style="@style/RadioButton"
            android:layout_width="100dp"
            android:layout_height="match_parent"
            android:text="test"
            android:textSize="14sp" />
    </info.hoang8f.android.segmented.SegmentedGroup>

any ideas why this is happening?

thank you in advance

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