Skip to content

Commit

Permalink
Merge branch 'release/2.0.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
johnkil committed Apr 28, 2014
2 parents 8d1c046 + 9c3438e commit 90dab12
Show file tree
Hide file tree
Showing 11 changed files with 23 additions and 16 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@ Change Log
==========


Version 2.0.1 *(2014-04-28)*
--------------------------

* Make typeface constants public.
* Default to Roboto Regular instead of Thin when no typeface is specified.


Version 2.0.0 *(2013-12-05)*
--------------------------

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ Android-RobotoTextView library is now pushed to Maven Central as a AAR, so you j

``` xml
dependencies {
compile 'com.github.johnkil.android-robototextview:robototextview:2.0.0'
compile 'com.github.johnkil.android-robototextview:robototextview:2.0.+'
}
```

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:0.6.+'
classpath 'com.android.tools.build:gradle:0.9.+'
}
}

Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
VERSION_NAME=2.0.0-SNAPSHOT
VERSION_CODE=7
VERSION_NAME=2.0.1-SNAPSHOT
VERSION_CODE=8
GROUP=com.github.johnkil.android-robototextview

POM_DESCRIPTION=Implementation of the fragment with the ability to display indeterminate progress indicator when you are waiting for the initial dataImplementation of a TextView and all its direct/indirect subclasses with native support for the Roboto fonts, includes the brand new Roboto Slab fonts.
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 @@
#Thu Dec 05 21:27:20 MSK 2013
#Mon Apr 28 14:05:22 MSK 2014
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=http\://services.gradle.org/distributions/gradle-1.8-all.zip
distributionUrl=http\://services.gradle.org/distributions/gradle-1.11-all.zip
2 changes: 1 addition & 1 deletion robototextview-sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ dependencies {

android {
compileSdkVersion 19
buildToolsVersion "19.0.0"
buildToolsVersion "19.0.3"

defaultConfig {
minSdkVersion 3
Expand Down
4 changes: 2 additions & 2 deletions robototextview-sample/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.devspark.robototextview.sample"
android:versionCode="7"
android:versionName="2.0.0">
android:versionCode="8"
android:versionName="2.0.1">

<uses-sdk
android:minSdkVersion="3"
Expand Down
2 changes: 1 addition & 1 deletion robototextview/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apply plugin: 'android-library'

android {
compileSdkVersion 19
buildToolsVersion "19.0.0"
buildToolsVersion "19.0.3"

defaultConfig {
minSdkVersion 3
Expand Down
7 changes: 2 additions & 5 deletions robototextview/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.devspark.robototextview"
android:versionCode="7"
android:versionName="2.0.0">
android:versionCode="8"
android:versionName="2.0.1">

<uses-sdk
android:minSdkVersion="3"
android:targetSdkVersion="19"/>
<application/>

</manifest>
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public class RobotoTypefaceManager {
* @return specify {@link Typeface}
* @throws IllegalArgumentException if unknown `typeface` attribute value.
*/
public static Typeface obtainTypeface (Context context, int typefaceValue) throws IllegalArgumentException {
public static Typeface obtainTypeface(Context context, int typefaceValue) throws IllegalArgumentException {
Typeface typeface = mTypefaces.get(typefaceValue);
if (typeface == null) {
typeface = createTypeface(context, typefaceValue);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@

package com.devspark.robototextview.widget;

import android.annotation.TargetApi;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Typeface;
import android.os.Build;
import android.util.AttributeSet;
import android.widget.TextClock;

Expand All @@ -30,6 +32,7 @@
*
* @author Evgeny Shishkin
*/
@TargetApi(Build.VERSION_CODES.JELLY_BEAN_MR1)
public class RobotoTextClock extends TextClock {

/**
Expand Down

0 comments on commit 90dab12

Please sign in to comment.