romandanylyk / PageIndicatorView

An page indicator for Android ViewPager
4.62k stars 551 forks source link

Bug: using ` app:piv_animationType="fill" ` makes it cut at the top #108

Open AndroidDeveloperLB opened 5 years ago

AndroidDeveloperLB commented 5 years ago

Check this:

<com.rd.PageIndicatorView
    android:id="@+id/pageIndicatorView" android:layout_width="wrap_content" android:layout_height="wrap_content"
    app:piv_animationType="fill" app:piv_dynamicCount="true" app:piv_interactiveAnimation="true"
    app:piv_radius="3dp" app:piv_selectedColor="#000" app:piv_unselectedColor="#262a35"
    app:piv_viewPager="@id/viewPager"/>

The results:

image

The top of each circle is cut.

Tested on Pixel 2 with Android P, v 1.0.3 of the library.

Any workaround?

mgursch commented 5 years ago

I have the same issue here... Galaxy S7 V1.0.3

kazimad commented 5 years ago

have the same

huunhan18pro commented 4 years ago

The same, Do you have any solution?

parmakly commented 3 years ago

Just add paddingTop