GithubHelp home page GithubHelp logo

philjay / circledisplay Goto Github PK

View Code? Open in Web Editor NEW
288.0 288.0 103.0 2.99 MB

Android View for displaying and selecting values in a circle-shaped View, with animations and touch gestures.

Java 100.00%

circledisplay's Introduction

Hi there ๐Ÿ‘‹

circledisplay's People

Contributors

philjay 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

circledisplay's Issues

Animate the Circle anti-clockwise

There is not an option to change the animation from clockwise to anit-clokwise, I have to spent a couple of hours researching for implementing the anti-clockwise animation that I need to develop, so I think you can add this feature to your component and be custom in that way to. It very useful and works excellent.

I did it changing this line
mDrawAnimator = ObjectAnimator.ofFloat(this, "phase", mPhase,1.0f).setDuration(3000);

for this:
mDrawAnimator = ObjectAnimator.ofFloat(this, "phase", 1.0f,mPhase).setDuration(3000);

I dont know if there a better way, but I hope it will help.

Disappears in ScrollView

I have an activity that shows a CircleDisplay beneath a chart. All works well when the layout is placed inside a LinearLayout. But when I place this LinearLayout inside a ScrollView, the CircleDisplay disappears (while the chart is still being shown correctly). Can this be a bug or am I missing something?

CircleDisplay arc alignment goes out of bounds

The circle arc goes out of bounds whenever there is a heavy load operation performed (i.e.) in my case pulling data from the device internal storage database and displaying it in the circle.

Under normal circumstances which doesn't involve heavy load operations the circle is displaying fine and the animation is smooth, but not otherwise.

Is this related to performance issues? Please advice. (PFA - Screenshots)

2015-05-13 18 21 33
2015-05-13 18 24 27

android.view.InflateException

I have a few reports on this error:

android.view.InflateException: Binary XML file line #97: Error inflating class com.philjay.circledisplay.CircleDisplay

Caused by: java.lang.NoClassDefFoundError: android.animation.ObjectAnimator
at com.philjay.circledisplay.CircleDisplay.init(CircleDisplay.java:128)
at com.philjay.circledisplay.CircleDisplay.(CircleDisplay.java:102)

I figured out that the problem has to do with the support library. it does not support the ObjectAnimator for API level 11 and below.

I guess a workaround would be, only animate when API level is above 11.

Is there maybe another fix for this?

Add LICENSE file

Can you add a license file to indicate the license this code falls under?

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.