Skip to content

Commit

Permalink
Merge branch 'release/v5.4.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
mikepenz committed Aug 3, 2016
2 parents 9b1dbf6 + ba66bcb commit 6d8e88e
Show file tree
Hide file tree
Showing 11 changed files with 27 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ android:
- tools

# The BuildTools version used by your project
- build-tools-24.0.0
- build-tools-24.0.1

# The SDK version used to compile your project
- android-24
Expand Down
5 changes: 5 additions & 0 deletions FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,8 @@ Each question and it's answer is hosted in a separate file within the FAQ folder
##Testing

* [How can I open the drawer from an instrumental test written with Espresso?](FAQ/opening-drawer-from-espresso.md)


##CustomDrawerItem's

* [A custom SecondaryDrawerItem that takes different name when its on disabled state](https://gist.github.com/AngleV/400377184386193c985d905bd97f2d40)
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ You can find some frequently asked questions and other resources in the [WIKI /
##1. Provide the gradle dependency

```gradle
compile('com.mikepenz:materialdrawer:5.3.6@aar') {
compile('com.mikepenz:materialdrawer:5.4.0@aar') {
transitive = true
}
```
Expand Down Expand Up @@ -415,6 +415,9 @@ builder.withDrawerLayout(R.layout.material_drawer);
* [World Tourist Attractions](https://play.google.com/store/apps/details?id=indian.fig.whatsaround)
* [HipCar](https://play.google.com/store/apps/details?id=com.hipcar.android)
* [AS Sales Management](https://play.google.com/store/apps/details?id=com.armsoft.mtrade)
* [Sporza Voetbal](http://play.google.com/store/apps/details?id=be.vrt.mobile.android.sporza.voetbal)
* [Atmosphere](https://play.google.com/store/apps/details?id=com.peakpocketstudios.atmosphere)
* [Slidechat](https://play.google.com/store/apps/details?id=com.taddu.adfree.slidechat)

#Articles about the MaterialDrawer
* [java-help.ru](http://java-help.ru/material-navigationdrawer/)
Expand Down
8 changes: 4 additions & 4 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ android {
defaultConfig {
minSdkVersion setup.minSdk
targetSdkVersion setup.targetSdk
versionCode 536
versionName "5.3.6"
versionCode 540
versionName "5.4.0"

setProperty("archivesBaseName", "-v$versionName-c$versionCode")
}
Expand Down Expand Up @@ -53,7 +53,7 @@ dependencies {

// used to generate the Open Source section
// https://github.com/mikepenz/AboutLibraries
compile('com.mikepenz:aboutlibraries:5.7.0@aar') {
compile('com.mikepenz:aboutlibraries:5.7.1@aar') {
transitive = true
exclude module: "fastadapter"
}
Expand All @@ -72,7 +72,7 @@ dependencies {
// icon fonts used inside the sample
// https://github.com/mikepenz/Android-Iconics
compile 'com.mikepenz:google-material-typeface:2.2.0.1@aar'
compile 'com.mikepenz:fontawesome-typeface:4.4.0.1@aar'
compile 'com.mikepenz:fontawesome-typeface:4.6.0.3@aar'
compile 'com.mikepenz:octicons-typeface:3.0.0.1@aar'


Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
buildscript {
ext {
setup = [compileSdk: 24,
buildTools: "24.0.0",
buildTools: "24.0.1",
minSdk : 10,
targetSdk : 24]

versions = [supportLib: "24.0.0"]
versions = [supportLib: "24.1.1"]
}

repositories {
Expand Down
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=5.3.6
VERSION_CODE=536
VERSION_NAME=5.4.0
VERSION_CODE=540
GROUP=com.mikepenz
POM_DESCRIPTION=MaterialDrawer Library
POM_URL=https://github.com/mikepenz/MaterialDrawer
Expand Down
8 changes: 4 additions & 4 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ android {
defaultConfig {
minSdkVersion setup.minSdk
targetSdkVersion setup.targetSdk
versionCode 536
versionName '5.3.6'
versionCode 540
versionName '5.4.0'
}
buildTypes {
release {
Expand Down Expand Up @@ -42,10 +42,10 @@ dependencies {
// used to provide out of the box icon font support. simplifies development,
// and provides scalable icons. the core is very very light
// https://github.com/mikepenz/Android-Iconics
compile 'com.mikepenz:iconics-core:2.6.7@aar'
compile 'com.mikepenz:iconics-core:2.7.2@aar'

// used to fill the RecyclerView with the DrawerItems
// and provides single and multi selection, expandable items
// https://github.com/mikepenz/FastAdapter
compile 'com.mikepenz:fastadapter:1.6.0@aar'
compile 'com.mikepenz:fastadapter:1.6.1@aar'
}
Original file line number Diff line number Diff line change
Expand Up @@ -1770,13 +1770,6 @@ public boolean onLongClick(View view, IAdapter<IDrawerItem> adapter, final IDraw
}
}

/**
* resets the DrawerBuilder's internal `mUsed` variable to false so the `DrawerBuilder` can be reused
*/
public void reset() {
this.mUsed = false;
}

/**
* helper method to close the drawer delayed
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
android:layout_height="wrap_content"
android:fontFamily="sans-serif-medium"
android:lines="1"
android:singleLine="true"
android:maxLines="1"
android:textSize="@dimen/material_drawer_account_header_text" />

<TextView
Expand All @@ -74,7 +74,7 @@
android:layout_height="wrap_content"
android:fontFamily="sans-serif"
android:lines="1"
android:singleLine="true"
android:maxLines="1"
android:textSize="@dimen/material_drawer_account_header_text" />

</LinearLayout>
Expand Down
4 changes: 2 additions & 2 deletions library/src/main/res/layout/material_drawer_header.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
android:layout_marginLeft="@dimen/material_drawer_vertical_padding"
android:fontFamily="sans-serif-medium"
android:lines="1"
android:singleLine="true"
android:maxLines="1"
android:textSize="@dimen/material_drawer_account_header_text" />

<TextView
Expand All @@ -93,7 +93,7 @@
android:layout_marginLeft="@dimen/material_drawer_vertical_padding"
android:fontFamily="sans-serif"
android:lines="1"
android:singleLine="true"
android:maxLines="1"
android:textSize="@dimen/material_drawer_account_header_text" />

</LinearLayout>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<b>MaterialDrawer</b> the flexible, easy to use, all in one drawer library for your Android project.
]]>
</string>
<string name="library_materialdrawer_libraryVersion">5.3.6</string>
<string name="library_materialdrawer_libraryVersion">5.4.0</string>
<string name="library_materialdrawer_libraryWebsite">https://github.com/mikepenz/MaterialDrawer</string>
<string name="library_materialdrawer_licenseId">apache_2_0</string>
<string name="library_materialdrawer_isOpenSource">true</string>
Expand Down

0 comments on commit 6d8e88e

Please sign in to comment.