Giter Club home page Giter Club logo

tristatetogglebutton's People

Contributors

beppimenozzi 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

tristatetogglebutton's Issues

Toggle MidColor error

I set my colors as following :
midColor = #878787
offColor = #1ABC9C
onColor = #F98162

For on State and off State it's working really good, but when I call toggleMid() it shows something like below
selection_062

It's a great library anyway

Disable swipe gesture

app:tbSwipeSensitivityPixels="0"

I am trying this to disable toggle to turn on/turn off, but still swipe gesture is allowing toggle to enable/diable.

Please let me know, how can I disable it? My requirement ifs to keep on the toggle and user cannot turn off it.

setOnColor() shows a different color instead

When I assign the OFF, MID and ON colors on the xml file the colors are displayed correctly, but when I set them programmatically through setOnColor(), setMidColor() and setOffColor(), the color displayed is another.

The way I set the color is:
tstbAppState.setOnColor(R.color.yellow);

By the way, thanks for the library...

Switch visibility

When changing the visibility of the view from Gone or Invisible to Visible while in the middle position the view spot jumps to the wrong position.

image

the green toggles are set to mid.

Breaks compilation on API 29

My app (androidx) wont compile any more ... I get

Session 'app': Installation did not succeed.
The application could not be installed: INSTALL_FAILED_UPDATE_INCOMPATIBLE
Retry

and

Error running 'app': Default Activity not found

I have specified xmlns:app="http://schemas.android.com/apk/res-auto"
in my nested-scroll-view layout

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.