Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/taishi-y/musicindicator

Music indicator for Android. Easy to use. 🎧 ✨
https://github.com/taishi-y/musicindicator

android android-application android-development android-library android-ui animation music-library ui-widget

Last synced: 5 days ago
JSON representation

Music indicator for Android. Easy to use. 🎧 ✨

Awesome Lists containing this project

README

        

# Music Indicator
[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-Music%20Indicator-brightgreen.svg?style=flat)](https://android-arsenal.com/details/1/5846)
[![Download](https://api.bintray.com/packages/taishi-y/maven/musicindicator/images/download.svg) ](https://bintray.com/taishi-y/maven/musicindicator/_latestVersion)
[![API](https://img.shields.io/badge/API-16%2B-brightgreen.svg?style=flat)](https://android-arsenal.com/api?level=16)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

Music indicator for Android.🎧 ✨

You can show this when the audio is played.🎵

Installation
============
Add it in your root build.gradle at the end of repositories:
```gradle
dependencies {
compile 'com.taishi-y:musicindicator:0.1.0'
}
```

Usage
=====

1 - Include app namespace to the root element :

xmlns:app="http://schemas.android.com/apk/res-auto"

2 - Add the Indicator View with custom params :

```

```

#### Supported Attributes

| XML Attribute | Java Attribute | Description |
| ------------- |:-------------:| -----:|
| app:bar_num | setBarNum(int) | Number of Bars |
| app:bar_color | setBarColor(int) | Color of the button |
| app:duration | setDuration(int) | Duration of a bar animation |
| app:step_num | setStepNum(int) | Number of bar animation steps|

Sample
=====

**1 - Normal Music Indicator**

![Normal Music Indicator ](https://github.com/Taishi-Y/MusicIndicator/blob/master/art/circlenormal.gif?raw=true)

```

```

**2 - Google Music Like**

![](https://github.com/Taishi-Y/MusicIndicator/blob/master/art/circlesample.gif?raw=true)

```



```

```

```

See the [example project](https://github.com/Taishi-Y/MusicIndicator/tree/master/app) for more samples

Developed By
============
```
Taishi Yamasaki
```
- Website (http://taishi.tech/)
- Twitter (https://twitter.com/taishi_yamasaki)
- LinkedIn (https://www.linkedin.com/in/taishi-yamasaki)
- For contact, shoot me an email at

# How to Contribute
1. Fork it
2. Create your feature branch (git checkout -b my-new-feature)
3. Commit your changes (git commit -am 'Add some feature')
4. Push to the branch (git push origin my-new-feature)
5. Create new Pull Request

# License

Copyright 2017 Taishi Yamasaki

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.