Skip to content
This repository has been archived by the owner on Jul 30, 2022. It is now read-only.

material-foundation/material-foundation-conventions-android

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A convention for Android libraries

The file system structure in this repo defines the conventions for a shared Android library.

LibraryName/
  .editorconfig             <- Libraries are expected to follow a standard format.
  build.gradle              <- Libraries should support the Gradle build system.

  LICENSE                   <- License.
  README.md                 <- Essential installation and usage guide.
  CONTRIBUTING.md           <- Details for external contributors.

  library/                  <- The library module.
    build.gradle            <- Gradle build file for the library.
    src/
      main/                 <- The code for the library.
        AndroidManifest.xml <- The manifest for the library.
        java/               <- Java source files.
        res/                <- Android resources.
      androidTest/          <- Tests.

  sample/                   <- The sample module.
    build.gradle            <- Gradle build file for the sample.
    src/
      main/                 <- The code for the sample.
        AndroidManifest.xml <- The manifest for the sample.
        java/               <- Java source files.
        res/                <- Android resources.

Creating a new Material Motion Android library

Run the following commands to create a new Android library:

mdm new repo <name>
cd $(mdm dir <name>)

License

Licensed under the Apache 2.0 license. See LICENSE for details.

About

A convention for Android libraries.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published