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 {
1515 applicationId " org.duangsuse.tree"
1616 minSdkVersion 14
1717 targetSdkVersion 27
18- versionCode 1
19- versionName " 1.0-氧 "
18+ versionCode 2
19+ versionName ' 1.1-萘 '
2020 testInstrumentationRunner " android.support.test.runner.AndroidJUnitRunner"
2121 signingConfig signingConfigs. config
2222 }
@@ -37,6 +37,12 @@ android {
3737 }
3838 productFlavors {
3939 }
40+ dexOptions {
41+ }
42+ compileOptions {
43+ sourceCompatibility JavaVersion . VERSION_1_8
44+ targetCompatibility JavaVersion . VERSION_1_8
45+ }
4046}
4147
4248dependencies {
Original file line number Diff line number Diff line change 1515import android .os .Bundle ;
1616import android .view .View ;
1717import android .view .View .OnLongClickListener ;
18- import android .widget .TextView ;
18+ import android .widget .EditText ;
1919
2020import java .util .Locale ;
2121
2424import static java .lang .String .format ;
2525
2626public class ExecActivity extends Activity {
27- TextView textBackground ;
27+ EditText textBackground ;
2828 String program ;
2929
3030 @ SuppressLint ("SetTextI18n" )
3131 @ Override
3232 protected void onCreate (Bundle savedInstanceState ) {
3333 if (getActionBar () != null )
3434 getActionBar ().setIcon (drawable .ic_secure );
35- textBackground = new TextView (this );
36- textBackground .setTextIsSelectable (true );
35+ textBackground = new EditText (this );
3736 textBackground .setText ("Loading info..." );
3837 setContentView (textBackground );
3938 try {
@@ -67,7 +66,7 @@ public void onClick(DialogInterface d, int i) {
6766 } catch (Exception ignored ) {
6867 }
6968 textBackground .setText (
70- format (Locale .ENGLISH , "mBsh System information\n " +
69+ format (Locale .ENGLISH , "Tree System information\n " +
7170 "Package name: %s\n " +
7271 "Version: %s\n " +
7372 "Code: %s\n " +
You can’t perform that action at this time.
0 commit comments