Carbon 0,1,5

Material Design implementation for Android 4.0+. Shadows, ripples, vectors, fonts, animations, widgets, rounded corners and more.

Android Arsenal   Maven Central   Dropbox

Google+   Google+   Twitter

Carbon

Material Design implementation for Android 4.0 and newer. This is not the exact copy of the Lollipop's API and features. It's a custom implementation of the most useful things as shown in the design specification. Carbon tries to:

  • make things easier (specify cornerRadius='dp' instead of creating an xml and/or a ViewOutlineProvider)
  • make it all work and look the same on all APIs (like CheckBox's left padding)
  • really backport features (don't use gradients for shadows!)
  • fix Android's everlasting bugs (FrameLayout ignores child's padding when no gravity is set)

Features

Android 4.x
  • generated, animated shadows with elevation system
  • the touch ripple
  • rounded corners with content clipping
  • circular reveal
  • theme xml attribute
  • widget and drawable tinting
All APIs
  • simple to use xml attributes for corners and ripples
  • colored shadows
  • brightness/saturadion fade
  • SVG support (with transformations, text, gradients, etc.)
Useful extensions and bugfixes
  • html text
  • percent layouts, anchors, colored insets
  • view stroke
  • visibility animations
  • ttf/otf fonts
  • text auto size
  • TextMarker
Material constants, widgets and components
  • colors, dimensions, typography
  • ready-to-use rows and adapters for RecyclerView
  • DropDown, FloatingActionMenu, RangeSeekBar, ExpandableRecyclerView, FlowLayout, TableView

Samples

Sample app Buttons / Usage sample CheckBoxes Colored shadows Component HTML PagerTabStrip Registration form Rounded corners SeekBar and RangeSeekBar Spinner Table layout Theme

Installation

FAQ

Changelog

JavaDoc

License

Copyright 2015 Marcin Korniluk 'Zielony'

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Related Repositories

go-carbon

go-carbon

Golang implementation of Graphite/Carbon server with classic architecture: Agent ...

carbon-relay-ng

carbon-relay-ng

Fast carbon relay+aggregator with admin interfaces for making changes online - p ...

Android-Carbon-Forum

Android-Carbon-Forum

Android Client for Carbon Forum with Material Design. ...

localized-carbon

localized-carbon

A localizable version of Carbon ...

carbon-c-relay

carbon-c-relay

Enhanced C implementation of Carbon relay, aggregator and rewriter ...


Top Contributors

ZieIony DSteve595 jswirus

Releases

-   0.11.0 zip tar
-   0.10.1 zip tar
-   0.10.0.1 zip tar
-   0.10.0 zip tar
-   0.9.0 zip tar
-   0.8.0 zip tar
-   0.7.4 zip tar
-   0.7.3 zip tar
-   0.7.2 zip tar
-   0.7.1 zip tar
-   0.7.0 zip tar
-   0.6.7.2 zip tar
-   0.6.7.1 zip tar
-   0.6.7 zip tar
-   0.6.6 zip tar
-   0.6.5 zip tar
-   0.6.4 zip tar
-   0.6.3.1 zip tar
-   0.6.3 zip tar
-   0.6.2 zip tar
-   0.6.1 zip tar
-   0.6.0 zip tar
-   0.5.2 zip tar
-   0.5.1 zip tar
-   0.5.0 zip tar