Git Product home page Git Product logo

carbon's Introduction

Android Arsenal   Maven Central   Dropbox

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)

What's new

  • custom item layouts for BottomNavigationView, TabLayout and NavigationView
  • DayNight themes
  • updated control colors
  • fixed color animations, background tint, menu inflation, shadow transformations

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
  • font resources
  • edge effects
All APIs
  • simple to use xml attributes for stroke, cut corners, rounded corners and ripples
  • colored shadows
  • brightness/saturation fade
  • SVG support (with transformations, text, gradients, etc.)
Useful extensions and bugfixes
  • html text
  • percent layouts, anchors, colored insets
  • view stroke
  • visibility animations
  • color state 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, BackdropLayout, Banner, BottomNavigationView, TabLayout

Samples

Articles

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.

carbon's People

Contributors

dsteve595 avatar jakub-swierk avatar luongvo avatar zieiony avatar

Watchers

 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.