Coder Social home page Coder Social logo

xdashview's Introduction

XDashView

DashView for android. XDashView has many implemets of Dash Line.

Definition of terms

Name Definition
cell Cell is the base item of the whole dash line.
dash Dash is the spacing between of cells.
cellWidth The Width of a cell. Width is always has same ORIENTATION of the dash line.
cellHeight The Height of a cell.
dashWidth The Width of a dash. Width is always has same ORIENTATION of the dash line.
dashHeight The Height of a dash.

Dash Type

This library will support multiple dash style. Type like :

  • Normal Type : The very normal type
  • Shaped Type : DashView cel can has some specific shape, such like circle,oval etc.
  • Drawable Type : DashView cell can be applied to some Drawable object.

Screenshots

Normal Type

Usage

step 1. add my bintray repo to your root project build.gradle(This step will be remove):

allprojects {
    repositories {
        maven { url "https://dl.bintray.com/kaiyangjia/maven" }
    }
}

step 2. add dependency to your app module:

compile 'com.jiakaiyang:xdashview:0.9'

step 3. rock it!

TODO

  • publish this lib to jcenter.
  • add Shaped Type implements.
  • add Drawable Type implements.

xdashview's People

Contributors

kaiyangjia avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.