Update TeleActivity.java
Made the back button for tele work
This commit is contained in:
parent
ae6409ccd3
commit
b9f08ad944
@ -147,6 +147,7 @@ public class TeleActivity extends AppCompatActivity {
|
|||||||
|
|
||||||
backButton.setOnLongClickListener((v) -> {
|
backButton.setOnLongClickListener((v) -> {
|
||||||
Intent intent = new Intent(this, AutoActivity.class);
|
Intent intent = new Intent(this, AutoActivity.class);
|
||||||
|
startActivity(intent);
|
||||||
return true;
|
return true;
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -183,4 +184,4 @@ public class TeleActivity extends AppCompatActivity {
|
|||||||
private void updateNetText() {
|
private void updateNetText() {
|
||||||
netButton.setText(String.format(getResources().getString(R.string.coralScored), "Net\n", matchData.gettNet()));
|
netButton.setText(String.format(getResources().getString(R.string.coralScored), "Net\n", matchData.gettNet()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user