Skip to content

Commit

Permalink
Initial implementation of TooltipDrawable
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 282041829
  • Loading branch information
cketcham authored and wcshi committed Dec 2, 2019
1 parent c421319 commit a282afe
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/build.gradle
Expand Up @@ -68,6 +68,7 @@ def srcDirs = [
'com/google/android/material/textview',
'com/google/android/material/theme',
'com/google/android/material/theme/overlay',
'com/google/android/material/tooltip',
'com/google/android/material/transformation',
'com/google/android/material/typography',
]
Expand Down
32 changes: 32 additions & 0 deletions lib/java/com/google/android/material/tooltip/build.gradle
@@ -0,0 +1,32 @@
apply plugin: 'com.android.library'
apply plugin: 'com.github.dcendents.android-maven'

dependencies {
implementation compatibility("appcompat")

implementation project(fromPath("lib/java/com/google/android/material/color"))
implementation project(fromPath("lib/java/com/google/android/material/shape"))
}

android {
sourceSets {
main.manifest.srcFile 'AndroidManifest.xml'
main.java.srcDir '.'
main.java.excludes = [
'**/build/**',
]
main.res.srcDirs = [
'res',
'res-public'
]
main.assets.srcDir 'assets'
}
}

uploadArchives {
repositories {
mavenDeployer {
repository(url: rootProject.ext.mavenRepoUrl)
}
}
}
Expand Up @@ -17,5 +17,7 @@
<resources>
<public name="tooltipStyle" type="attr"/>
<public name="backgroundTint" type="color" />
<public name="ShapeAppearance.MaterialComponents.Tooltip" type="style"/>
<public name="TextAppearance.MaterialComponents.Tooltip" type="style"/>
<public name="Widget.MaterialComponents.Tooltip" type="style"/>
</resources>

0 comments on commit a282afe

Please sign in to comment.