vajro/MaterialDesignLibrary


This is a library with components of Android L to you use in android 2.2

Download


Step 1. Add the JitPack repository to your build file

Add it in your root settings.gradle at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url 'https://jitpack.io' }
		}
	}

Add it in your settings.gradle.kts at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url = uri("https://jitpack.io") }
		}
	}

Add to pom.xml

	<repositories>
		<repository>
		    <id>jitpack.io</id>
		    <url>https://jitpack.io</url>
		</repository>
	</repositories>

Add it in your build.sbt at the end of resolvers:

 
    resolvers += "jitpack" at "https://jitpack.io"
        
    

Add it in your project.clj at the end of repositories:

 
    :repositories [["jitpack" "https://jitpack.io"]]
        
    

Step 2. Add the dependency

	dependencies {
		implementation 'com.github.vajro:materialdesignlibrary:1.6'
	}
	dependencies {
		implementation("com.github.vajro:materialdesignlibrary:1.6")
	}
	<dependency>
	    <groupId>com.github.vajro</groupId>
	    <artifactId>materialdesignlibrary</artifactId>
	    <version>1.6</version>
	</dependency>

                            
    libraryDependencies += "com.github.vajro" % "materialdesignlibrary" % "1.6"
        
        

                            
    :dependencies [[com.github.vajro/materialdesignlibrary "1.6"]]
        
        

Readme


Material design library logo

Material Design Android Library

This is a fork of the original <a href="https://github.com/navasmdc/MaterialDesignLibrary"> Material Design Library Project </a>. I have just renamed one of the resource file to eliminate the the conflict error ""Error:Attribute "rippleColor" has already been defined"" which occurs when you use Material Design Library.

You can use the gradle dependency, you have to add these lines in your build.gradle file:

repositories {
    maven { url "https://jitpack.io" }
}

dependencies {
	  compile 'com.github.vajro:MaterialDesignLibrary:1.6'
}

I have modified the "rippleColor" color attribute to "mRippleColor". Hope this helps few people who faced same error as mine.

To know more about how to use the controls and elements, check out the <a href="https://github.com/vajro/MaterialDesignLibrary/blob/master/OriginalREADME.md">Original ReadMe file.</a>