Skip to content
This repository has been archived by the owner on Mar 18, 2022. It is now read-only.

Commit

Permalink
Merge branch 'release/v1.5.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
mikepenz committed Oct 28, 2017
2 parents 4c9ec27 + 3feceab commit d818dea
Show file tree
Hide file tree
Showing 8 changed files with 37 additions and 42 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#Crossfader [![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.mikepenz/crossfader/badge.svg?style=flat)](https://maven-badges.herokuapp.com/maven-central/com.mikepenz/crossfader)
# Crossfader [![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.mikepenz/crossfader/badge.svg?style=flat)](https://maven-badges.herokuapp.com/maven-central/com.mikepenz/crossfader)
[![Join the chat at https://gitter.im/mikepenz/crossfader](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/mikepenz/crossfader?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

**Crossfader** is a small library to provide an easy to use and fast helper class for the great CrossFadeSlidingPaneLayout by @chiuki.
Expand All @@ -9,8 +9,8 @@ It comes with following features:
* No additional dependencies
* No need to modify your layouts

#Preview
##Screenshots
# Preview
## Screenshots
![Image](https://raw.githubusercontent.com/mikepenz/Crossfader/develop/DEV/screenshots/screenshot1_small.png)
![Image](https://raw.githubusercontent.com/mikepenz/Crossfader/develop/DEV/screenshots/screenshot2_small.png)

Expand All @@ -22,11 +22,11 @@ It comes with following features:
The Crossfader Library is pushed to [Maven Central](http://search.maven.org/#search|ga|1|g%3A%22com.mikepenz%22), so you just need to add the following dependency to your `build.gradle`.

```javascript
compile "com.mikepenz:crossfader:1.5.0@aar"
compile "com.android.support:appcompat-v7:${supportLibVersion}"
implementation "com.mikepenz:crossfader:1.5.1@aar"
implementation "com.android.support:appcompat-v7:${supportLibVersion}"
```

##How to use
## How to use

Initialize and create the Crossfader
```java
Expand Down Expand Up @@ -63,13 +63,13 @@ protected void onSaveInstanceState(Bundle outState) {
}
```

#Developed By
# Developed By

* Mike Penz
* [mikepenz.com](http://mikepenz.com) - <[email protected]>
* [paypal.me/mikepenz](http://paypal.me/mikepenz)

#License
# License

Copyright 2016 Mike Penz

Expand Down
27 changes: 12 additions & 15 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,9 @@ android {
defaultConfig {
applicationId "com.mikepenz.crossfader.app"
minSdkVersion 14
targetSdkVersion 24
versionCode 150
versionName '1.5.0'

applicationVariants.all { variant ->
variant.outputs.each { output ->
def file = output.outputFile
def fileName = file.name.replace(".apk", "-v" + versionName + "-c" + versionCode + ".apk")
output.outputFile = new File(file.parentFile, fileName)
}
}
targetSdkVersion 27
versionCode 151
versionName '1.5.1'
}
buildTypes {
debug {
Expand Down Expand Up @@ -51,14 +43,19 @@ android {
dependencies {
compile project(':library')

compile('com.mikepenz:materialdrawer:5.5.0@aar') {
implementation "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}"
implementation "com.android.support:cardview-v7:${rootProject.ext.supportLibVersion}"
implementation "com.android.support:recyclerview-v7:${rootProject.ext.supportLibVersion}"

compile('com.mikepenz:materialdrawer:5.9.5@aar') {
exclude group: "com.android.support"
transitive = true
}
compile('com.mikepenz:aboutlibraries:5.8.0@aar') {
compile('com.mikepenz:aboutlibraries:5.9.8@aar') {
transitive = true
}
compile 'com.mikepenz:google-material-typeface:2.2.0.1@aar'
compile 'com.mikepenz:fontawesome-typeface:4.4.0.1@aar'
compile 'com.mikepenz:google-material-typeface:3.0.1.1.original@aar'
compile 'com.mikepenz:fontawesome-typeface:4.7.0.0@aar'

compile 'com.squareup.picasso:picasso:2.5.2'
}
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public boolean onProfileChanged(View view, IProfile profile, boolean current) {
new PrimaryDrawerItem().withName(R.string.drawer_item_third).withIcon(FontAwesome.Icon.faw_gamepad).withIdentifier(3),
new PrimaryDrawerItem().withName(R.string.drawer_item_fourth).withIcon(FontAwesome.Icon.faw_eye).withIdentifier(4),
new PrimaryDrawerItem().withDescription("A more complex sample").withName(R.string.drawer_item_fifth).withIcon(GoogleMaterial.Icon.gmd_adb).withIdentifier(5),
new PrimaryDrawerItem().withName(R.string.drawer_item_sixth).withIcon(GoogleMaterial.Icon.gmd_car).withIdentifier(6),
new PrimaryDrawerItem().withName(R.string.drawer_item_sixth).withIcon(GoogleMaterial.Icon.gmd_camera).withIdentifier(6),
new DividerDrawerItem(),
new SecondaryDrawerItem().withName(R.string.drawer_item_seventh).withIcon(FontAwesome.Icon.faw_github)
) // add the items we want to use with our Drawer
Expand Down
16 changes: 7 additions & 9 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,28 +1,26 @@
buildscript {
repositories {
google()
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.1.0'
classpath 'com.novoda:bintray-release:0.3.4'
classpath 'com.android.tools.build:gradle:3.0.0'
classpath 'com.novoda:bintray-release:0.5.0'
}
}

ext {
compileSdkVersion = 24
buildToolsVersion = "24.0.1"
supportLibVersion = "24.2.0"
compileSdkVersion = 27
buildToolsVersion = "27.0.0"
supportLibVersion = "27.0.0"
}

allprojects {
repositories {
google()
jcenter()
mavenCentral()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
}
}

task wrapper(type: Wrapper) {
gradleVersion = '2.14'
}
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Maven stuff
VERSION_NAME=1.5.0
VERSION_CODE=150
VERSION_NAME=1.5.1
VERSION_CODE=151
GROUP=com.mikepenz
POM_DESCRIPTION=Crossfader Library
POM_URL=https://github.com/mikepenz/Crossfader
Expand Down
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Sun Aug 21 19:44:19 CEST 2016
#Sat Oct 28 18:36:42 CEST 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip
8 changes: 4 additions & 4 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ android {

defaultConfig {
minSdkVersion 14
targetSdkVersion 24
versionCode 150
versionName '1.5.0'
targetSdkVersion 27
versionCode 151
versionName '1.5.1'
}
buildTypes {
release {
Expand All @@ -28,5 +28,5 @@ apply from: 'gradle-mvn-push.gradle'
apply from: 'gradle-jcenter-push.gradle'

dependencies {
compile "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}"
implementation "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}"
}
2 changes: 1 addition & 1 deletion library/src/main/res/values/library_crossfader_strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<b>Crossfader</b>
]]>
</string>
<string name="library_crossfader_libraryVersion">1.5.0</string>
<string name="library_crossfader_libraryVersion">1.5.1</string>
<string name="library_crossfader_libraryWebsite">https://github.com/mikepenz/Crossfader</string>
<string name="library_crossfader_licenseId">apache_2_0</string>
<string name="library_crossfader_isOpenSource">true</string>
Expand Down

0 comments on commit d818dea

Please sign in to comment.