mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-17 08:35:37 -04:00
De-hardcoded a string
This commit is contained in:
parent
c13eda73e1
commit
35c23be3f0
@ -69,7 +69,7 @@ public class EditControlDrawerPopup extends EditControlButtonPopup{
|
||||
protected void setupDialogButtons() {
|
||||
super.setupDialogButtons();
|
||||
|
||||
builder.setNeutralButton("Add sub-button", new DialogInterface.OnClickListener() {
|
||||
builder.setNeutralButton(v.getResources().getString(R.string.customctrl_addsubbutton), new DialogInterface.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(DialogInterface dialogInterface, int i) {
|
||||
ControlLayout layout = (ControlLayout) drawer.getParent();
|
||||
|
@ -191,6 +191,7 @@
|
||||
<string name="customctrl_keycombine_shift">Shift</string>
|
||||
<string name="customctrl_addbutton">Add button</string>
|
||||
<string name="customctrl_addbutton_drawer">Add button drawer</string>
|
||||
<string name="customctrl_addsubbutton">Add sub-button</string>
|
||||
|
||||
<string name="customctrl_selectdefault">Select default Control json</string>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user