Material-Resources-Library

Introduction: A list of most useful resources for designing android apps such as all material colors and dimens, 180 Gradient background + html, social, flat, fluent, metro colors.
More: Author   ReportBugs   
Tags:

platform JitPack License

A list of most useful resources for designing android apps such as all material colors and dimens, 180 Gradient background + html, social, flat,fluent, metro colors. you can use colors with java, kotlin, xml.

What does this library include?

How to include

Add the repository to your project build.gradle:

allprojects {
    repositories {
        maven { url "https://jitpack.io" }
    }
}

And add the library to your module build.gradle:

dependencies {
    implementation 'com.github.ma3udmohammadi:Material-Resources-Library:1.0.0'
}

Usage

  • Material Colors:

    [material][color name]

    materialOrange50
    materialOrange100
    ...
    materialOrange200
    materialOrange900
    
    materialOrangeA100
    materialOrangeA200
    materialOrangeA300
    materialOrangeA400
    
    materialPrimaryOrange
    materialPrimaryDarkOrange
    materialAccentOrange
    

    Example:

    android:background="@color/materialOrange500"
    
  • Flat Colors:

    [flat][color name]

    flatTurquoise
    flatGreensea
    ...
    flatConcrete
    flatAsbestos
    

    Example:

    android:background="@color/flatAmethyst"
    
  • Fluent Colors:

    [fluent][color name]

    fluentFFB900
    fluentFF8C00
    ...
    fluent847545
    fluent7E735F
    

    Example:

    android:background="@color/fluent00B7C3"
    
  • Social Colors:

    [social][color name]

    socialFacebook
    socialMessenger
    ...
    socialTwitter
    socialLinkedIn
    

    Example:

    android:background="@color/socialDribble"
    
  • Metro Colors:

    [metro][color name]

    metroLime
    metroGreen
    ...
    metroMauve
    metroSienna
    

    Example:

    android:background="@color/metroAmber"
    
  • HTML Colors:

    [html][color name]

    htmlGainsboro
    htmlLightGray
    ...
    htmlSilver
    htmlDarkGray
    

    Example:

    android:background="@color/htmlAquamarine"
    
  • Themes:

    [AppTheme]color name(.)(NoActionBar)

    AppThemeRed
    AppThemeRed.NoActionBar
    AppThemeRedDark
    AppThemeRedDark.NoActionBar
    ...
    

    Example:

    inside androidManifest.xml
    android:theme="@style/AppThemeAmber"
    
  • Dimens:

    Example:

    android:textSize="@dimen/typography_headline"
    

Changelog

  • 1.0.0
    • Initial release

License

Copyright 2019 ma3udmohammadi

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.
Apps
About Me
Google+: Trinea trinea
GitHub: Trinea