File tree Expand file tree Collapse file tree 2 files changed +12
-7
lines changed
src/main/java/org/duangsuse/tree Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ android {
15
15
applicationId " org.duangsuse.tree"
16
16
minSdkVersion 14
17
17
targetSdkVersion 27
18
- versionCode 1
19
- versionName " 1.0-氧 "
18
+ versionCode 2
19
+ versionName ' 1.1-萘 '
20
20
testInstrumentationRunner " android.support.test.runner.AndroidJUnitRunner"
21
21
signingConfig signingConfigs. config
22
22
}
@@ -37,6 +37,12 @@ android {
37
37
}
38
38
productFlavors {
39
39
}
40
+ dexOptions {
41
+ }
42
+ compileOptions {
43
+ sourceCompatibility JavaVersion . VERSION_1_8
44
+ targetCompatibility JavaVersion . VERSION_1_8
45
+ }
40
46
}
41
47
42
48
dependencies {
Original file line number Diff line number Diff line change 15
15
import android .os .Bundle ;
16
16
import android .view .View ;
17
17
import android .view .View .OnLongClickListener ;
18
- import android .widget .TextView ;
18
+ import android .widget .EditText ;
19
19
20
20
import java .util .Locale ;
21
21
24
24
import static java .lang .String .format ;
25
25
26
26
public class ExecActivity extends Activity {
27
- TextView textBackground ;
27
+ EditText textBackground ;
28
28
String program ;
29
29
30
30
@ SuppressLint ("SetTextI18n" )
31
31
@ Override
32
32
protected void onCreate (Bundle savedInstanceState ) {
33
33
if (getActionBar () != null )
34
34
getActionBar ().setIcon (drawable .ic_secure );
35
- textBackground = new TextView (this );
36
- textBackground .setTextIsSelectable (true );
35
+ textBackground = new EditText (this );
37
36
textBackground .setText ("Loading info..." );
38
37
setContentView (textBackground );
39
38
try {
@@ -67,7 +66,7 @@ public void onClick(DialogInterface d, int i) {
67
66
} catch (Exception ignored ) {
68
67
}
69
68
textBackground .setText (
70
- format (Locale .ENGLISH , "mBsh System information\n " +
69
+ format (Locale .ENGLISH , "Tree System information\n " +
71
70
"Package name: %s\n " +
72
71
"Version: %s\n " +
73
72
"Code: %s\n " +
You can’t perform that action at this time.
0 commit comments