mirror of
https://github.com/material-components/material-components-android.git
synced 2026-02-20 08:39:55 +08:00
These are the foundation for the back layer functionality. The behavior does the heavy lifting to measure the adjacent content view. As of now this only lays out the views correctly in the hidden state, it doesn't support exposing the back layer at all, yet. Full of TODOs, this is just a skeleton. PiperOrigin-RevId: 156334640
29 lines
746 B
Groovy
29 lines
746 B
Groovy
apply plugin: 'com.android.application'
|
|
|
|
dependencies {
|
|
compile 'com.android.support:support-annotations:25.3.1'
|
|
compile 'com.android.support:appcompat-v7:25.3.1'
|
|
compile project(':lib')
|
|
compile project(':testing:java:android:support:design:testapp:base')
|
|
compile project(':testing:java:android:support:design:testapp:custom')
|
|
}
|
|
|
|
android {
|
|
// Ensures all variants are available for tests to depend on
|
|
publishNonDefault true
|
|
|
|
sourceSets {
|
|
main.manifest.srcFile 'AndroidManifest.xml'
|
|
main.java.srcDirs = [ '.' ]
|
|
// Only include things in this directory, not subdirectories
|
|
main.java.includes = [ '*.java' ]
|
|
main.res.srcDirs = [ 'res' ]
|
|
}
|
|
|
|
buildTypes {
|
|
debug {
|
|
pseudoLocalesEnabled true
|
|
}
|
|
}
|
|
}
|