PageIndicatorView icon indicating copy to clipboard operation
PageIndicatorView copied to clipboard

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

Open AndroidDeveloperLB opened this issue 5 years ago • 4 comments

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?

AndroidDeveloperLB avatar Dec 13 '18 13:12 AndroidDeveloperLB

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

mgursch avatar Feb 19 '19 10:02 mgursch

have the same

kazimad avatar Mar 01 '19 15:03 kazimad

The same, Do you have any solution?

huunhan18pro avatar Apr 01 '20 06:04 huunhan18pro

Just add paddingTop

parmakly avatar Mar 01 '21 07:03 parmakly