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.