mirror of
https://github.com/xoureldeen/Vectras-VM-Android.git
synced 2026-04-29 14:59:50 +00:00
Empanada
This commit is contained in:
parent
8f6838b11a
commit
4bac6ffbd1
8 changed files with 24 additions and 6 deletions
|
|
@ -1206,6 +1206,8 @@ public class CustomRomActivity extends AppCompatActivity {
|
|||
UIUtils.UIAlert(activity, getResources().getString(R.string.from) + ": " + jObj.getString("author"), getResources().getString(R.string.description) + ":\n\n" + Html.fromHtml(jObj.getString("desc")));
|
||||
}
|
||||
}
|
||||
TextView arch = findViewById(R.id.textArch);
|
||||
arch.setText(MainSettingsManager.getArch(CustomRomActivity.this));
|
||||
} catch (JSONException e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -79,6 +79,7 @@ public class SetupQemuActivity extends AppCompatActivity implements View.OnClick
|
|||
MaterialButton buttonsetuptryagain;
|
||||
MaterialButton buttonsetupshowlog;
|
||||
TextView textviewshowadvancedsetup;
|
||||
TextView textviewhideadvancedsetup;
|
||||
|
||||
AlertDialog alertDialog;
|
||||
private boolean settingup = false;
|
||||
|
|
@ -109,6 +110,7 @@ public class SetupQemuActivity extends AppCompatActivity implements View.OnClick
|
|||
buttonsetuptryagain = findViewById(R.id.buttonsetuptryagain);
|
||||
buttonsetupshowlog = findViewById(R.id.buttonsetupshowlog);
|
||||
textviewshowadvancedsetup = findViewById(R.id.textviewshowadvancedsetup);
|
||||
textviewhideadvancedsetup = findViewById(R.id.textviewhideadvancedsetup);
|
||||
|
||||
buttontryconnectagain.setOnClickListener(this);
|
||||
buttonautosetup.setOnClickListener(this);
|
||||
|
|
@ -116,6 +118,7 @@ public class SetupQemuActivity extends AppCompatActivity implements View.OnClick
|
|||
buttonsetuptryagain.setOnClickListener(this);
|
||||
buttonsetupshowlog.setOnClickListener(this);
|
||||
textviewshowadvancedsetup.setOnClickListener(this);
|
||||
textviewhideadvancedsetup.setOnClickListener(this);
|
||||
|
||||
progressBar = findViewById(R.id.progressBar);
|
||||
|
||||
|
|
@ -325,6 +328,9 @@ public class SetupQemuActivity extends AppCompatActivity implements View.OnClick
|
|||
} else if (id == R.id.buttontryconnectagain) {
|
||||
linearload.setVisibility(View.VISIBLE);
|
||||
net.startRequestNetwork(RequestNetworkController.GET,AppConfig.bootstrapfileslink,"anbui",_net_request_listener);
|
||||
} else if (id == R.id.textviewhideadvancedsetup) {
|
||||
linearsimplesetupui.setVisibility(View.VISIBLE);
|
||||
alertDialog.dismiss();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -699,6 +705,7 @@ public class SetupQemuActivity extends AppCompatActivity implements View.OnClick
|
|||
} else {
|
||||
setupVectras32();
|
||||
}
|
||||
simpleSetupUIControler(1);
|
||||
return;
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue