All Projects → rcketscientist → Togglebuttons

rcketscientist / Togglebuttons

Licence: mit
Android toggle buttons that adhere to the Material Design documentation.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Togglebuttons

Smart Webcomponents
Web Components & Custom Elements for Professional Web Applications
Stars: ✭ 110 (+25%)
Mutual labels:  material-design, material, material-ui, ui-components
Svelte Materialify
A Material UI Design Component library for Svelte heavily inspired by vuetify.
Stars: ✭ 351 (+298.86%)
Mutual labels:  material-design, material, ui-components
Material Bread
Cross Platform React Native Material Design Components
Stars: ✭ 287 (+226.14%)
Mutual labels:  material-design, material, ui-components
Materialtimelineview
With MaterialTimelineView you can easily create a material looking timeline.
Stars: ✭ 443 (+403.41%)
Mutual labels:  material-design, material, material-ui
Alyle Ui
Minimal Design, a set of components for Angular 9+
Stars: ✭ 234 (+165.91%)
Mutual labels:  material-design, material, material-ui
Materiallettericon
Material first letter icon like lollipop contacts icon. Letter(s) on a shape drawn on canvas.
Stars: ✭ 255 (+189.77%)
Mutual labels:  material-design, material, material-ui
Shards Dashboard
🔥A beautiful Bootstrap 4 admin dashboard templates pack.
Stars: ✭ 1,143 (+1198.86%)
Mutual labels:  material-design, material, material-ui
Hubuntu Ui
Material Admin Dashboard Starter UI ( Ubuntu style ) - https://720kb.github.io/hubuntu-ui/
Stars: ✭ 207 (+135.23%)
Mutual labels:  material-design, material, material-ui
Materialfavoritebutton
Animated favorite/star/like button
Stars: ✭ 586 (+565.91%)
Mutual labels:  material-design, material, material-ui
Materialscrollbar
An Android library that brings the Material Design 5.1 sidebar to pre-5.1 devices.
Stars: ✭ 761 (+764.77%)
Mutual labels:  material-design, material, ui-components
Slidetoact
A simple 'Slide to Unlock' Material widget for Android, written in Kotlin 📱🎨🦄
Stars: ✭ 783 (+789.77%)
Mutual labels:  material-design, material, material-ui
Motion Shapeofview
Explain how to use MotionLayout with ShapeOfView
Stars: ✭ 236 (+168.18%)
Mutual labels:  material-design, material, material-ui
Material Backdrop
A simple solution for implementing Backdrop pattern for Android
Stars: ✭ 221 (+151.14%)
Mutual labels:  material-design, material, ui-components
Sequent
A simple continuous animation library for Android UI.
Stars: ✭ 263 (+198.86%)
Mutual labels:  material-design, material, material-ui
Material Admin
Free Material Admin Template
Stars: ✭ 219 (+148.86%)
Mutual labels:  material-design, material, material-ui
Material Auto Rotating Carousel
Introduce users to your app with this Material-style carousel.
Stars: ✭ 400 (+354.55%)
Mutual labels:  material-design, material, material-ui
React Saas Template
🌊 Template for building an SaaS / admin website using React + Material-UI
Stars: ✭ 942 (+970.45%)
Mutual labels:  material-design, material, material-ui
Jekyll Material Theme
A Jekyll Theme based on Material Design using Materialize.
Stars: ✭ 165 (+87.5%)
Mutual labels:  material-design, material, material-ui
Material Singleinputform
A single EditText instead of a classical form. Library that implements flavienlaurent's singleinputform
Stars: ✭ 202 (+129.55%)
Mutual labels:  material-design, material, material-ui
Android Iconics
Android-Iconics - Use any icon font, or vector (.svg) as drawable in your application.
Stars: ✭ 4,916 (+5486.36%)
Mutual labels:  material-design, material, material-ui

Google finally released an official version:

MaterialButtonToggleGroup

I recommend using this instead unless a deficiency is found.

Download license

ToggleButtons

This library adds two custom widgets that adhere to the Material Design definition for toggle buttons. Library is backwards compatible to API 9.

You can add the library with:

compile 'com.anthonymandra:ToggleButtons:3.0.1'

Recent Changes

Version 3.0

Migrate to androidx. Required a bump to minSdk 14.

  1. Package name changed to androidx.appcompat.widget. ToggleButton|ToggleGroup

Version 2.0

Adds backwards compatibility to API 9. This changed the api for dividers slightly.

  1. Divider is now in the custom namespace: app:divider
  2. Divider can no longer support tint. You'll need to create custom drawbles.

Basics

You can use ToggleGroup much like you would a RadioGroup and fill it with ToggleButton, or anything extending CompoundButton. See the Sample for examples.

When no text is present they will use a custom draw that allows proper image alignment. When text is present they will behave like a traditional CompoundButton, or the old android ToggleButton.

image

You can toggle exclusive selection or multi selection on a group and you can also allow unselecting (no selection at all). Buttons support tint.

Sample

screenshot_1500045520

Official Material Guidelines

materialtoggle

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].