File tree Expand file tree Collapse file tree 8 files changed +14
-69
lines changed
androidTest/java/com/broooapps/otpedittext
java/com/broooapps/otpedittext
androidTest/java/com/broooapps/otpedittext2
main/java/com/broooapps/otpedittext2 Expand file tree Collapse file tree 8 files changed +14
-69
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ android {
8
8
targetSdkVersion 28
9
9
versionCode 1
10
10
versionName " 1.0"
11
- testInstrumentationRunner " android.support .test.runner.AndroidJUnitRunner"
11
+ testInstrumentationRunner " androidx .test.runner.AndroidJUnitRunner"
12
12
}
13
13
buildTypes {
14
14
release {
@@ -20,12 +20,12 @@ android {
20
20
21
21
dependencies {
22
22
implementation fileTree(dir : ' libs' , include : [' *.jar' ])
23
- implementation ' com.android.support :appcompat-v7:28 .0.0'
24
- implementation ' com.android.support.constraint:constraint-layout :1.1.3'
23
+ implementation ' androidx.appcompat :appcompat:1 .0.0'
24
+ implementation ' androidx.constraintlayout:constraintlayout :1.1.3'
25
25
26
26
implementation project(path : ' :otpedittext2' )
27
27
28
28
testImplementation ' junit:junit:4.12'
29
- androidTestImplementation ' com.android.support. test:runner :1.0.2 '
30
- androidTestImplementation ' com.android.support. test.espresso:espresso-core:3.0.2 '
29
+ androidTestImplementation ' androidx. test.ext:junit :1.1.1 '
30
+ androidTestImplementation ' androidx. test.espresso:espresso-core:3.1.0 '
31
31
}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
package com .broooapps .otpedittext ;
2
2
3
- import android . support . v7 .app .AppCompatActivity ;
3
+ import androidx . appcompat .app .AppCompatActivity ;
4
4
import android .os .Bundle ;
5
5
import android .view .View ;
6
6
import android .widget .EditText ;
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
- <android .support.constraint .ConstraintLayout xmlns : android =" http://schemas.android.com/apk/res/android"
2
+ <androidx .constraintlayout.widget .ConstraintLayout xmlns : android =" http://schemas.android.com/apk/res/android"
3
3
xmlns : app =" http://schemas.android.com/apk/res-auto"
4
4
xmlns : tools =" http://schemas.android.com/tools"
5
5
android : layout_width =" match_parent"
50
50
app : layout_constraintTop_toBottomOf =" @id/button" />
51
51
52
52
53
- </android .support.constraint .ConstraintLayout>
53
+ </androidx .constraintlayout.widget .ConstraintLayout>
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ android {
10
10
versionCode 1
11
11
versionName " 1.0"
12
12
13
- testInstrumentationRunner " android.support .test.runner.AndroidJUnitRunner"
13
+ testInstrumentationRunner " androidx .test.runner.AndroidJUnitRunner"
14
14
15
15
}
16
16
@@ -26,8 +26,8 @@ android {
26
26
dependencies {
27
27
implementation fileTree(dir : ' libs' , include : [' *.jar' ])
28
28
29
- implementation ' com.android.support :appcompat-v7:28 .0.0'
29
+ implementation ' androidx.appcompat :appcompat:1 .0.0'
30
30
testImplementation ' junit:junit:4.12'
31
- androidTestImplementation ' com.android.support. test:runner :1.0.2 '
32
- androidTestImplementation ' com.android.support. test.espresso:espresso-core:3.0.2 '
31
+ androidTestImplementation ' androidx. test.ext:junit :1.1.1 '
32
+ androidTestImplementation ' androidx. test.espresso:espresso-core:3.1.0 '
33
33
}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 9
9
import android .content .res .TypedArray ;
10
10
import android .graphics .Canvas ;
11
11
import android .graphics .Paint ;
12
- import android . support . v4 .content .ContextCompat ;
13
- import android . support . v7 .widget .AppCompatEditText ;
12
+ import androidx . core .content .ContextCompat ;
13
+ import androidx . appcompat .widget .AppCompatEditText ;
14
14
import android .text .Editable ;
15
15
import android .text .TextWatcher ;
16
16
import android .util .AttributeSet ;
17
17
import android .view .ActionMode ;
18
- import android .view .ContextThemeWrapper ;
19
18
import android .view .Menu ;
20
19
import android .view .MenuItem ;
21
20
import android .view .View ;
You can’t perform that action at this time.
0 commit comments