-
Notifications
You must be signed in to change notification settings - Fork 712
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
CircleIndicator is not visible in activity #116
Comments
Hi, which version of SDK are you using?, I'm having a similar problem using android 8 but it works with android 5 |
i cant see the dots |
the following works for me:
the 'ic_drawable.xml' file (colorize the circles) :
in java : |
@ekizy can i see your java code? make sure you are setting viewpager for indicator after setting adapter for viewpager, priority is important. I mean this way:
not this :
|
Remember that the dots are always white, so if your activity/window background is light/white then you wont be able to see it. A nice future feature would be to add a property that allows you to choose between light and dark |
Hi when I use support version of this library, I couldn't render the indicator view in my activity. It does not give an exception, but in its position it does not show anything.
Here is my xml
@
<com.adesso.pepsipromo.common.view.AdsFrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/framelayout_onboarding_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/background_activity_home"
tools:context=".scene.home.HomeActivity">
</com.adesso.pepsipromo.common.view.AdsFrameLayout>
Thanks for help.
The text was updated successfully, but these errors were encountered: