Skip to content
This repository has been archived by the owner on Mar 27, 2022. It is now read-only.

Selector Background not proper when divider is set . #21

Open
karanatwal opened this issue Jul 7, 2017 · 0 comments
Open

Selector Background not proper when divider is set . #21

karanatwal opened this issue Jul 7, 2017 · 0 comments

Comments

@karanatwal
Copy link

karanatwal commented Jul 7, 2017

device-2017-07-07-193435

<co.ceryle.segmentedbutton.SegmentedButtonGroup
        android:id="@+id/segment_Group"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_margin="4dp"
        app:sbg_backgroundColor="@android:color/white"
        app:sbg_borderColor="@android:color/black"
        app:sbg_borderSize="0.5dp"
        app:sbg_position="0"
        app:sbg_dividerSize="0.5dp"
        app:sbg_dividerColor="@android:color/black"
        app:sbg_radius="2dp"
        android:gravity="center"
        android:layout_gravity="center"
        app:sbg_animateSelectorDuration="1"
        app:sbg_selectorColor="@android:color/holo_red_dark">


    <co.ceryle.segmentedbutton.SegmentedButton
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_weight="1"
        android:text="A"/>

    <co.ceryle.segmentedbutton.SegmentedButton
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_weight="1"
        android:text="B"/>

    <co.ceryle.segmentedbutton.SegmentedButton
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_weight="1"
        android:text="C"/>


    <co.ceryle.segmentedbutton.SegmentedButton
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_weight="1"
        android:text="D"/>

    <co.ceryle.segmentedbutton.SegmentedButton
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_weight="1"
        android:text="E"/>




</co.ceryle.segmentedbutton.SegmentedButtonGroup>

Please Fix .. if i increase divider size then it is leaving more space on every selected button background.

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

No branches or pull requests

1 participant