Grav icon indicating copy to clipboard operation
Grav copied to clipboard

Lot of item at the beginning

Open Vaudey opened this issue 5 years ago • 0 comments

Thank you for your lib, I just have an issue when the app launch the view a lot of ball appears. Just after I got a white space and after I have the correct behaviour.

Here it's the style I'm using

  \<item name="android:layout_width">match_parent</item>
  \  <item name="android:layout_marginEnd">-100dp</item>
   \ <item name="android:layout_marginStart">-100dp</item>
    \<item name="animationGenerator">com.github.glomadrian.grav.generator.animation.PathAnimator</item>
   \ <item name="animationGenerators">@array/path</item>
    \<item name="array_colors">@array/bubble</item>
   \ <item name="ball_size_from_size">8dp</item>
    \<item name="ball_size_to_size">12dp</item>
    \<item name="colorGenerator">com.github.glomadrian.grav.generator.paint.ArrayColorGenerator</item>
   \ <item name="gravGenerator">com.github.glomadrian.grav.generator.grav.BallGenerator</item>
   \ <item name="path">@string/bubble_path</item>
    \<item name="path_original_height">@integer/bubble_original_height</item>
    \<item name="path_original_width">@integer/bubble_original_width</item>
    \<item name="path_variance_from">-150dp</item>
    \<item name="path_variance_to">200dp</item>
    \<item name="pointGenerator">com.github.glomadrian.grav.generator.point.RegularPointGenerator</item>
    \<item name="regular_cell_size">120</item>
    \<item name="regular_variance">150</item>
    \<item name="path_min_duration">4000</item>
    \<item name="path_max_duration">5000</item>

Thank you

Vaudey avatar Jul 23 '19 15:07 Vaudey