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

Croller Seekbar doesnt show #18

Open
pelldam opened this issue Feb 19, 2018 · 2 comments
Open

Croller Seekbar doesnt show #18

pelldam opened this issue Feb 19, 2018 · 2 comments

Comments

@pelldam
Copy link

pelldam commented Feb 19, 2018

hello there,
am trying to use the croller seekbar but the problem i encountered is that when i set the layout_height="wrap_content" and layout_width="wrap_content".. so the croller seekbar wont displayed so if i set layout_height="match_parent" and layout_width="match_parent" it will displayed here is the code below
`

<com.sdsmdg.harjot.crollerTest.Croller
    android:id="@+id/croller"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_centerInParent="true"
    app:back_circle_color="#EDEDED"
    app:indicator_color="#0B3C49"
    app:indicator_width="12"

    app:label_color="@color/black"
    app:main_circle_color="#FFFFFF"
    app:max="1000"
    app:progress_primary_color="#0B3C49"
    app:progress_secondary_color="#EEEEEE"
    app:start_offset="45"
    android:layout_alignParentLeft="true"
    android:layout_alignParentStart="true"
    android:layout_marginLeft="20dp"
    android:layout_marginStart="20dp"/>

`

@harjot-oberai
Copy link
Owner

harjot-oberai commented Feb 21, 2018

I used the exact same parameters as yours and didn't experience any issues. If user sets the width and height as wrap_content, then default value of 160dp is used.

Which android version are you testing on ?

@pelldam
Copy link
Author

pelldam commented Feb 22, 2018

am using android studio 3.0 and i tested on android version 6.0 api 23
when i first used the library for the first version of my app it worked with the height wrap_content but when i later upgraded to another version of android studio that was when i experienced it

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

No branches or pull requests

2 participants