material-components_materia.../docs/directorystructure.md
travisc ab2fec6da4 Move lib/src/ to lib/java/, and lib/jvmtests/javatests/ to lib/javatests/.
Bazel is happier if Java/Java test roots are named 'java' and 'javatests', and
this will mean that once we create a BUILD file for
android/support/design/{widget,internal}/ we'll no longer need a custom package
specified in our build (which tends to cause build problems that manifest quite
weirdly). This commit doesn't attempt to refactor the build at all yet, and is
just a pure move.

PiperOrigin-RevId: 178060739
2018-01-11 10:50:18 -05:00

1006 B

Material component directory structure

All of the Material Components are located under lib/. The library is sub-divided into:

Any widgets that require a platform-specific implementation can be found in the base/ directory, while all other widgets are located under src/.

Classes in the library are separated into two directories:

Classes in widget/ comprise the public API; these can be used directly in your applications. Classes in internal/ are part of the protected API and are used to support the public API classes.