Code Monkey home page Code Monkey logo

volumecontrolview's Introduction

VolumeControlView

Made by Agilie GitHub license

We’re happy to introduce you a new free regulator VolumeControlView based on our lightweight open-source visual component that doesn't require extra lines of code and can be easily integrated into your project. Visual regulator can be connected to a player or other smart house’s device making the process of controlling the level of a particular characteristic much easier.

Demo

Link to iOS repo

Check out our iOS VolumeControlView also!

Example

To run the example project, clone the repo, and run sample.

How to use

Just add VolumeControlView to your layout file:

 <com.agilie.volumecontrol.view.VolumeControlView
        android:id="@+id/controllerView"
        android:layout_width="wrap_content"
        android:layout_height="270dp">

The visual display of this regulator can be easily customized. One has a possibility to choose colors, the gradient style and background according to the wishes:

var colors : intArrayOf
var backgroundLayoutColor : Color
var minShiningRadius : Float
var maxShiningRadius : Float
var shiningFrequency : Float
<declare-styleable name="VolumeControlView">
        <attr name="innerCircleColor" format="color" />
        <attr name="movableCircleColor" format="color" />
        <attr name="splineCircleColor" format="color" />
        <attr name="controllerSpace" format="float" />
        <attr name="sectorRadius" format="integer" />
        <attr name="movableCircleRadius" format="float" />
        <attr name="minShiningRadius" format="float" />
        <attr name="maxShiningRadius" format="float" />
        <attr name="shiningFrequency" format="float" />
</declare-styleable>

Usage

Gradle

Add dependency in your build.gradle file:

compile 'com.agilie:volume-control-view:1.0'

Maven

Add dependency in your .pom file:

<dependency>
  <groupId>com.agilie</groupId>
  <artifactId>volume-control-view</artifactId>
  <version>1.0</version>
  <type>pom</type>
</dependency>

Requirements

VolumeControlView works on Android API 19+

Troubleshooting

Problems? Check the Issues block to find the solution or create an new issue that we will fix asap.

Author

This library is open-sourced by Agilie Team [email protected]

Contributors

Contact us

If you have any questions, suggestions or just need a help with web or mobile development, please email us at
[email protected]
You can ask us anything from basic to complex questions.
We will continue publishing new open-source projects. Stay with us, more updates will follow!

License

The MIT License (MIT) Copyright © 2017 Agilie Team

volumecontrolview's People

Contributors

akotsuba avatar ukevgen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

volumecontrolview's Issues

Add Readme

Kindly add a readme about how to use this. specially in java.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.