Skip to content
Android library to make notes drop animation for music players
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea Typo, Removed Deprecated API usage, Bintray Publish Jan 5, 2017
app Fixed Exception on Stop Jan 9, 2017
gradle/wrapper
screenshot changed screenshot Jan 5, 2017
vusikview Fixed Exception on Stop Jan 9, 2017
.gitignore commit #1 Jan 5, 2017
License
README.md Update README.md Jan 9, 2017
build.gradle Typo, Removed Deprecated API usage, Bintray Publish Jan 5, 2017
gradle.properties commit #1 Jan 5, 2017
gradlew commit #1 Jan 5, 2017
gradlew.bat commit #1 Jan 5, 2017
settings.gradle commit #1 Jan 5, 2017

README.md

VusikView

License API

Min SDK 11

Screnshots

Screenshot Screenshot

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

You can’t perform that action at this time.