File tree Expand file tree Collapse file tree 6 files changed +7
-8
lines changed
java/com/zjy/xtableview/widget/swipe Expand file tree Collapse file tree 6 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ android {
25
25
dependencies {
26
26
implementation fileTree(dir : " libs" , include : [" *.jar" ])
27
27
implementation project(" :xtableview" )
28
- implementation ' androidx.appcompat:appcompat:1.1 .0'
28
+ implementation ' androidx.appcompat:appcompat:1.2 .0'
29
29
implementation ' androidx.constraintlayout:constraintlayout:1.1.3'
30
30
testImplementation ' junit:junit:4.12'
31
31
androidTestImplementation ' androidx.test.ext:junit:1.1.1'
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ buildscript {
6
6
}
7
7
dependencies {
8
8
classpath " com.android.tools.build:gradle:4.0.1"
9
-
9
+ classpath ' com.github.dcendents:android-maven-gradle-plugin:2.1 '
10
10
// NOTE: Do not place your application dependencies here; they belong
11
11
// in the individual module build.gradle files
12
12
}
Original file line number Diff line number Diff line change 1
1
apply plugin : ' com.android.library'
2
+ apply plugin : ' com.github.dcendents.android-maven'
2
3
3
4
android {
4
5
compileSdkVersion 30
@@ -23,7 +24,7 @@ android {
23
24
24
25
dependencies {
25
26
compileOnly fileTree(dir : " libs" , include : [" *.jar" ])
26
- implementation ' androidx.appcompat:appcompat:1.1 .0'
27
+ implementation ' androidx.appcompat:appcompat:1.2 .0'
27
28
implementation ' androidx.recyclerview:recyclerview:1.1.0'
28
29
implementation ' com.android.support.constraint:constraint-layout:1.1.3'
29
30
testCompileOnly ' junit:junit:4.12'
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ public void onClick(View v) {
71
71
if (v instanceof LinearLayout ) {
72
72
((LinearLayout ) v ).getChildAt (0 ).setVisibility (VISIBLE );
73
73
TextView menuTv = (TextView ) ((LinearLayout ) v ).getChildAt (0 );
74
- menuTv .setText ("确认删除 " );
74
+ menuTv .setText ("Confirm delete " );
75
75
}
76
76
}
77
77
}
@@ -88,7 +88,7 @@ public void resetMenu() {
88
88
menuTag .setConfirm (false );
89
89
}
90
90
if (menuTv instanceof TextView ) {
91
- ((TextView ) menuTv ).setText ("删除 " );
91
+ ((TextView ) menuTv ).setText ("Delete " );
92
92
}
93
93
}
94
94
}
Original file line number Diff line number Diff line change 10
10
android : layout_width =" wrap_content"
11
11
android : layout_height =" wrap_content"
12
12
android : layout_gravity =" center"
13
- android : drawableStart =" @drawable/table_view_ic_delete"
14
- android : drawableLeft =" @drawable/table_view_ic_delete"
15
13
android : drawablePadding =" 6dp"
16
14
android : gravity =" center"
17
- android : text =" 删除 "
15
+ android : text =" Delete "
18
16
android : textColor =" @color/table_swipe_delete_txt_color"
19
17
android : textSize =" 13sp" />
20
18
You can’t perform that action at this time.
0 commit comments