Skip to content

Commit

Permalink
Merge branch 'release/v3.1.4'
Browse files Browse the repository at this point in the history
  • Loading branch information
mikepenz committed Nov 3, 2015
2 parents d2a69a9 + 095de1f commit d40e112
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 21 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,16 @@ The ActionItemBadge Library is pushed to [Maven Central], so you just need to ad

```javascript
dependencies {
compile('com.mikepenz:actionitembadge:3.1.3@aar') {
compile('com.mikepenz:actionitembadge:3.1.4@aar') {
transitive = true
}
}
```

###Additional dependency for the icon font
If you are going to use the icon font you will have to add additional dependency for the font.
You can find all available addons here: https://github.com/mikepenz/Android-Iconics#2-choose-your-desired-fonts

##UPGRADE NOTES
####< 3.0.0
- If you come from a version prior 3.0.0 you will have to rename some classes, and the default styles also found a new place. Just check out the updated sample app for all the changes.
Expand Down
12 changes: 6 additions & 6 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ android {
applicationId "com.mikepenz.actionitembadge.sample"
minSdkVersion 14
targetSdkVersion 23
versionCode 313
versionName "3.1.3"
versionCode 314
versionName "3.1.4"
}
buildTypes {
release {
Expand All @@ -22,15 +22,15 @@ android {

dependencies {
compile project(':library')
compile('com.mikepenz:materialdrawer:4.3.6@aar') {
compile('com.mikepenz:materialdrawer:4.4.4@aar') {
transitive = true
exclude module: "iconics-core"
}
compile('com.mikepenz:aboutlibraries:5.2.4@aar') {
compile('com.mikepenz:aboutlibraries:5.3.0@aar') {
transitive = true
}

compile 'com.mikepenz:google-material-typeface:1.2.0.1@aar'
compile 'com.mikepenz:google-material-typeface:2.1.2.1@aar'
compile 'com.mikepenz:fontawesome-typeface:4.4.0.1@aar'
compile 'com.mikepenz:crossfader:1.1.2@aar'
compile 'com.mikepenz:crossfader:1.1.3@aar'
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import android.widget.Toast;

import com.mikepenz.aboutlibraries.LibsBuilder;
import com.mikepenz.aboutlibraries.ui.LibsFragment;
import com.mikepenz.aboutlibraries.ui.LibsSupportFragment;
import com.mikepenz.actionitembadge.R;
import com.mikepenz.actionitembadge.library.ActionItemBadge;
import com.mikepenz.actionitembadge.library.ActionItemBadgeAdder;
Expand All @@ -34,7 +34,7 @@ protected void onCreate(Bundle savedInstanceState) {
}

//init and show about libraries :D
LibsFragment fragment = new LibsBuilder().withFields(R.string.class.getFields()).withVersionShown(true).withLicenseShown(true).fragment();
LibsSupportFragment fragment = new LibsBuilder().withFields(R.string.class.getFields()).withVersionShown(true).withLicenseShown(true).supportFragment();
FragmentManager fragmentManager = getSupportFragmentManager();
fragmentManager.beginTransaction().replace(R.id.frame_container, fragment).commit();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import android.widget.Toast;

import com.mikepenz.aboutlibraries.LibsBuilder;
import com.mikepenz.aboutlibraries.ui.LibsFragment;
import com.mikepenz.aboutlibraries.ui.LibsSupportFragment;
import com.mikepenz.actionitembadge.R;
import com.mikepenz.actionitembadge.library.ActionItemBadge;
import com.mikepenz.actionitembadge.library.ActionItemBadgeAdder;
Expand Down Expand Up @@ -111,12 +111,12 @@ public boolean onItemClick(View view, int i, IDrawerItem iDrawerItem) {
}
})
.withFireOnInitialOnClick(true)
.withSelectedItem(2)
.withSelectedItem(3)
.withSavedInstance(savedInstanceState)
.build();

//init and show about libraries :D
LibsFragment fragment = new LibsBuilder().withFields(R.string.class.getFields()).withVersionShown(true).withLicenseShown(true).fragment();
LibsSupportFragment fragment = new LibsBuilder().withFields(R.string.class.getFields()).withVersionShown(true).withLicenseShown(true).supportFragment();
FragmentManager fragmentManager = getSupportFragmentManager();
fragmentManager.beginTransaction().replace(R.id.frame_container, fragment).commit();
}
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ allprojects {


task wrapper(type: Wrapper) {
gradleVersion = '2.6'
gradleVersion = '2.8'
}
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true

VERSION_NAME=3.1.3
VERSION_CODE=313
VERSION_NAME=3.1.4
VERSION_CODE=314
GROUP=com.mikepenz

POM_DESCRIPTION=Android-ActionItemBadge Library
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 Sep 06 21:48:00 CEST 2015
#Tue Nov 03 22:42:03 CET 2015
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.6-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-2.8-all.zip
6 changes: 3 additions & 3 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ android {
defaultConfig {
minSdkVersion 14
targetSdkVersion 23
versionCode 313
versionName "3.1.3"
versionCode 314
versionName "3.1.4"
}
buildTypes {
release {
Expand All @@ -20,5 +20,5 @@ android {
apply from: 'gradle-mvn-push.gradle'

dependencies {
compile 'com.mikepenz:iconics-core:1.7.8@aar'
compile 'com.mikepenz:iconics-core:2.0.0@aar'
}
2 changes: 1 addition & 1 deletion library/src/main/res/values/aboutlibraries.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Android-<b>ActionItemBadge</b> is a library which offers a simple and easy to use method to add a badge to your action item!!
]]>
</string>
<string name="library_AndroidActionItemBadge_libraryVersion">3.1.3</string>
<string name="library_AndroidActionItemBadge_libraryVersion">3.1.4</string>
<string name="library_AndroidActionItemBadge_libraryWebsite">https://github.com/mikepenz/Android-ActionItemBadge</string>
<string name="library_AndroidActionItemBadge_licenseId">apache_2_0</string>
<string name="library_AndroidActionItemBadge_isOpenSource">true</string>
Expand Down

0 comments on commit d40e112

Please sign in to comment.