File tree Expand file tree Collapse file tree 12 files changed +69
-28
lines changed
java/com/cxyzy/app_using_lib
java/com/cxyzy/clearedittextdemo
clearedittextlib/src/main/java/com/cxyzy/cet Expand file tree Collapse file tree 12 files changed +69
-28
lines changed Original file line number Diff line number Diff line change 11apply plugin : ' com.android.application'
2+ apply plugin : ' kotlin-android-extensions'
3+ apply plugin : ' kotlin-android'
24
35android {
46 compileSdkVersion 28
@@ -23,4 +25,8 @@ dependencies {
2325 implementation ' androidx.appcompat:appcompat:1.1.0-alpha04'
2426 implementation ' androidx.constraintlayout:constraintlayout:1.1.3'
2527 implementation project(' :clearedittextlib' )
28+ implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version "
29+ }
30+ repositories {
31+ mavenCentral()
2632}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ package com.cxyzy.clearedittextdemo
2+
3+ import android.os.Bundle
4+ import androidx.appcompat.app.AppCompatActivity
5+
6+ class MainActivity : AppCompatActivity () {
7+ override fun onCreate (savedInstanceState : Bundle ? ) {
8+ super .onCreate(savedInstanceState)
9+ setContentView(R .layout.activity_main)
10+
11+ }
12+
13+ }
Original file line number Diff line number Diff line change 1+ package com.cxyzy.clearedittextdemo
2+
3+ import android.util.Log
4+
5+ fun log (tag : String , message : String ) {
6+ Log .d(tag+ " _LaunchModeTest" , " $message " )
7+ }
Original file line number Diff line number Diff line change 99 tools : context =" .MainActivity" >
1010
1111 <com .cxyzy.cet.ClearEditText
12+ android : id =" @+id/phoneCET"
1213 android : layout_width =" match_parent"
1314 android : layout_height =" wrap_content"
1415 android : background =" #FFFFFF"
100101 android : paddingRight =" 15dp"
101102 android : paddingBottom =" 15dp"
102103 app : textFormat =" ### ### ##" />
103-
104104</LinearLayout >
Original file line number Diff line number Diff line change 11apply plugin : ' com.android.application'
2+ apply plugin : ' kotlin-android-extensions'
3+ apply plugin : ' kotlin-android'
24
35android {
46 compileSdkVersion 28
@@ -29,4 +31,8 @@ dependencies {
2931 implementation ' androidx.appcompat:appcompat:1.1.0-alpha04'
3032 implementation ' androidx.constraintlayout:constraintlayout:1.1.3'
3133 implementation ' com.github.cxyzy1:clearEditText:1.0.4'
34+ implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version "
35+ }
36+ repositories {
37+ mavenCentral()
3238}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ package com.cxyzy.app_using_lib
2+
3+ import android.os.Bundle
4+ import androidx.appcompat.app.AppCompatActivity
5+
6+ class MainActivity : AppCompatActivity () {
7+ override fun onCreate (savedInstanceState : Bundle ? ) {
8+ super .onCreate(savedInstanceState)
9+ setContentView(R .layout.activity_main)
10+ }
11+ }
Original file line number Diff line number Diff line change 1+ package com.cxyzy.app_using_lib
2+
3+ import android.util.Log
4+
5+ fun log (tag : String , message : String ) {
6+ Log .d(tag+ " _LaunchModeTest" , " $message " )
7+ }
Original file line number Diff line number Diff line change 99 tools : context =" .MainActivity" >
1010
1111 <com .cxyzy.cet.ClearEditText
12+ android : id =" @+id/phoneCET"
1213 android : layout_width =" match_parent"
1314 android : layout_height =" wrap_content"
1415 android : background =" #FFFFFF"
You can’t perform that action at this time.
0 commit comments