mirror of
https://github.com/material-components/material-components-android.git
synced 2026-02-20 08:39:55 +08:00
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
1006 B
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.