We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
<com.rd.PageIndicatorView android:layout_centerHorizontal="true" android:id="@+id/dots" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerInParent="true" app:piv_animationType="scale" app:piv_interactiveAnimation="true" app:piv_selectedColor="@color/selected_dot_color" app:piv_unselectedColor="@color/unselected_dot_color" app:piv_viewPager="@id/viewPager" android:layout_alignBottom="@+id/vip_slider" attrs:piv_padding="3dp" attrs:piv_radius="5dp" attrs:piv_scaleFactor="1.6"/> Result:
<com.rd.PageIndicatorView android:layout_centerHorizontal="true" android:id="@+id/dots" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerInParent="true" app:piv_animationType="scale" app:piv_interactiveAnimation="true" app:piv_selectedColor="@color/selected_dot_color" app:piv_unselectedColor="@color/unselected_dot_color" app:piv_viewPager="@id/viewPager" android:layout_alignBottom="@+id/vip_slider" attrs:piv_padding="3dp" attrs:piv_radius="5dp" attrs:piv_scaleFactor="1.6"/>
The text was updated successfully, but these errors were encountered:
I just had the same issue and when looking into the code I realized these :
public static final float MIN_SCALE_FACTOR = 0.3f; public static final float MAX_SCALE_FACTOR = 1;
So the scaleFactor has to be in between 0.3 and 1. I know probably it is a bit late. But maybe it helps someone else
Sorry, something went wrong.
No branches or pull requests
<com.rd.PageIndicatorView android:layout_centerHorizontal="true" android:id="@+id/dots" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerInParent="true" app:piv_animationType="scale" app:piv_interactiveAnimation="true" app:piv_selectedColor="@color/selected_dot_color" app:piv_unselectedColor="@color/unselected_dot_color" app:piv_viewPager="@id/viewPager" android:layout_alignBottom="@+id/vip_slider" attrs:piv_padding="3dp" attrs:piv_radius="5dp" attrs:piv_scaleFactor="1.6"/>
Result:
The text was updated successfully, but these errors were encountered: