Skip to content

Commit 443cbfb

Browse files
committed
Resolves #32
Using TintEditText, TintCheckBox, TintCheckedTextView and TintRadioButton.
1 parent bca85c0 commit 443cbfb

7 files changed

Lines changed: 17 additions & 9 deletions

File tree

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ buildscript {
44
}
55

66
dependencies {
7-
classpath 'com.android.tools.build:gradle:1.0.0'
7+
classpath 'com.android.tools.build:gradle:1.0.1'
88
}
99
}
1010

robototextview-sample/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apply plugin: 'com.android.application'
22

33
android {
44
compileSdkVersion 21
5-
buildToolsVersion "21.1.1"
5+
buildToolsVersion "21.1.2"
66

77
defaultConfig {
88
applicationId "com.devspark.robototextview.sample"
@@ -15,5 +15,5 @@ android {
1515

1616
dependencies {
1717
compile project(':robototextview')
18-
compile 'com.android.support:appcompat-v7:21.0.2'
18+
compile 'com.android.support:appcompat-v7:21.0.3'
1919
}

robototextview/build.gradle

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ apply plugin: 'com.android.library'
22

33
android {
44
compileSdkVersion 21
5-
buildToolsVersion "21.1.1"
5+
buildToolsVersion "21.1.2"
66

77
defaultConfig {
8-
minSdkVersion 3
8+
minSdkVersion 7
99
targetSdkVersion 21
1010
versionCode 10
1111
versionName "2.2.0"
@@ -21,5 +21,9 @@ android {
2121
}
2222
}
2323

24+
dependencies {
25+
compile 'com.android.support:appcompat-v7:21.0.3'
26+
}
27+
2428
// Used to push in maven
2529
apply from: 'https://raw.github.com/chrisbanes/gradle-mvn-push/master/gradle-mvn-push.gradle'

robototextview/src/main/java/com/devspark/robototextview/widget/RobotoCheckBox.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
package com.devspark.robototextview.widget;
1818

1919
import android.content.Context;
20+
import android.support.v7.internal.widget.TintCheckBox;
2021
import android.util.AttributeSet;
2122
import android.widget.CheckBox;
2223

@@ -27,7 +28,7 @@
2728
*
2829
* @author Evgeny Shishkin
2930
*/
30-
public class RobotoCheckBox extends CheckBox {
31+
public class RobotoCheckBox extends TintCheckBox {
3132

3233
/**
3334
* Simple constructor to use when creating a widget from code.

robototextview/src/main/java/com/devspark/robototextview/widget/RobotoCheckedTextView.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
package com.devspark.robototextview.widget;
1818

1919
import android.content.Context;
20+
import android.support.v7.internal.widget.TintCheckedTextView;
2021
import android.util.AttributeSet;
2122
import android.widget.CheckedTextView;
2223

@@ -27,7 +28,7 @@
2728
*
2829
* @author Evgeny Shishkin
2930
*/
30-
public class RobotoCheckedTextView extends CheckedTextView {
31+
public class RobotoCheckedTextView extends TintCheckedTextView {
3132

3233
/**
3334
* Simple constructor to use when creating a widget from code.

robototextview/src/main/java/com/devspark/robototextview/widget/RobotoEditText.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
package com.devspark.robototextview.widget;
1818

1919
import android.content.Context;
20+
import android.support.v7.internal.widget.TintEditText;
2021
import android.util.AttributeSet;
2122
import android.widget.EditText;
2223

@@ -27,7 +28,7 @@
2728
*
2829
* @author Evgeny Shishkin
2930
*/
30-
public class RobotoEditText extends EditText {
31+
public class RobotoEditText extends TintEditText {
3132

3233
/**
3334
* Simple constructor to use when creating a widget from code.

robototextview/src/main/java/com/devspark/robototextview/widget/RobotoRadioButton.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
package com.devspark.robototextview.widget;
1818

1919
import android.content.Context;
20+
import android.support.v7.internal.widget.TintRadioButton;
2021
import android.util.AttributeSet;
2122
import android.widget.RadioButton;
2223

@@ -27,7 +28,7 @@
2728
*
2829
* @author Evgeny Shishkin
2930
*/
30-
public class RobotoRadioButton extends RadioButton {
31+
public class RobotoRadioButton extends TintRadioButton {
3132

3233
/**
3334
* Simple constructor to use when creating a widget from code.

0 commit comments

Comments
 (0)