Popularity
3.0
Stable
Activity
0.0
Stable
115
8
38

Description

This library give a cool visualization to music players, with a option of pausing and resuming the animation. If you want use this library refer README.md (https://github.com/dynamitechetan/VusikView).

Code Quality Rank: L5
Programming language: Java
License: Apache License 2.0
Tags: UI     Animations     Music Player     Canvas     Notes     Awesome    

VusikView alternatives and similar packages

Based on the "Animations" category.
Alternatively, view VusikView alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of VusikView or a related project?

Add another 'Animations' Package

README

VusikView

License API

Min SDK 11

Screnshots

[Screenshot](screenshot/screen1.gif) [Screenshot](screenshot/screen2.gif)

How to use

If you want use this library, you can download project and import it into your workspace and add the project as a library in your android project settings.

Using Gradle

you have to add these lines in your build.gradle file:

repositories {
        jcenter()
}

dependencies {
        compile 'dyanamitechetan.vusikview:vusikview:1.1'
}

or Using Maven:

<dependency>
  <groupId>dyanamitechetan.vusikview</groupId>
  <artifactId>vusikview</artifactId>
  <version>1.0</version>
  <type>pom</type>
</dependency>

BASIC USAGE

In XML

   <dyanamitechetan.vusikview.VusikView
        android:layout_width="match_parent"
        android:id="@+id/vusik"
        android:layout_height="match_parent"
        />

In Java

    vusikView = (VusikView) findViewById(R.id.vusik);
    vusikView.start();

Using own Images

    vusikView = (VusikView) findViewById(R.id.vusik);
    int[]  myImageList = new int[]{R.drawable.note1,R.drawable.note2,R.drawable.note4};
    vusikView
            .setImages(myImageList)
            .start();

Pause, Resume, Stop

    vusikView.pauseNotesFall();
    vusikView.resumeNotesFall();
    vusikView.stopNotesFall;

The VusikView have some custom attributes, to use them , you must add this line in your xml file in the first component:

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    >
</RelativeLayout>

Setting a fall speed

Default is 0.1
    <dyanamitechetan.vusikview.VusikView
        android:layout_width="match_parent"
        android:id="@+id/vusik"
        android:layout_height="350dp"
        app:fallSpeed="0.13"
        />

Setting Notes Count

Default is 25
 <dyanamitechetan.vusikview.VusikView
        android:layout_width="match_parent"
        android:id="@+id/vusik"
        android:layout_height="350dp"
        app:fallCount="40"
        />

License

Copyright (c) 2016 Chetan Kaushik

Licensed under the Apache License, Version 2.0


*Note that all licence references and agreements mentioned in the VusikView README section above are relevant to that project's source code only.