GithubHelp home page GithubHelp logo

morristech / material-components-android Goto Github PK

View Code? Open in Web Editor NEW

This project forked from material-components/material-components-android

0.0 0.0 0.0 1.29 MB

Modular and customizable Material Design UI components for Android

License: Apache License 2.0

Java 100.00%

material-components-android's Introduction

Material Components for Android

Material Components for Android (MDC-Android) help developers execute Material Design. Developed by a core team of engineers and UX designers at Google, these components enable a reliable development workflow to build beautiful and functional Android apps.

Material Components for Android are based on Android’s Design support library (DesignLib) which will continue to be released as part of Android’s SDK. Development will take place on GitHub, and stable versions will be synced to Android’s SDK based on the SDK’s release schedules.

Useful Links

Getting Started

Using the support library version

For most users, the Android Design support library is the best version to use in their application. The Android SDK contains the latest stable version of this library. To use it:

  1. Make sure you've downloaded the Android Support Repository using the SDK Manager.
  2. Open the build.gradle file for your application.
  3. Add the Design support library to the dependencies section:
dependencies {
  // ...
  compile 'com.android.support:design:25.1.0'
  // ...
}

Building from source

If you'll be contributing to the library, or need a version newer than what has been released in the Android support libraries, Material Components for Android can also be built from source. To do so:

Clone this repository:

git clone https://github.com/material-components/material-components-android.git

Then, build an AAR using Gradle:

./gradlew assembleRelease

(the AAR file will be located in lib/build/outputs/aar/)

Running tests

Material Components for Android has JVM tests as well as Emulator tests.

To run the JVM tests, do:

./gradlew test

To run the emulator tests, ensure you have a virtual device set up and do:

./gradlew androidConnectedTest

material-components-android's People

Contributors

adamp avatar alanv avatar chethaase avatar danalbert avatar hyundomoon avatar jolauridsen avatar kirill-grouchnikov avatar kunny avatar liutikas avatar nfuller avatar rni-gc avatar ryanl avatar skyisle avatar sliceslicebaby avatar tnorbye avatar yaraki avatar yigit 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.