Skip to content
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

Lot of item at the beginning #23

Open
Vaudey opened this issue Jul 23, 2019 · 0 comments
Open

Lot of item at the beginning #23

Vaudey opened this issue Jul 23, 2019 · 0 comments

Comments

@Vaudey
Copy link

Vaudey commented Jul 23, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant