Make OSC reconfigure button non-focusable so it doesn't eat hardware enter/space presses. Fixes #611

This commit is contained in:
Cameron Gutman 2018-07-16 18:40:12 -07:00
parent c8cb8e1346
commit c313797d93

View File

@ -60,6 +60,7 @@ public class VirtualController {
buttonConfigure = new Button(context);
buttonConfigure.setAlpha(0.25f);
buttonConfigure.setFocusable(false);
buttonConfigure.setBackgroundResource(R.drawable.ic_settings);
buttonConfigure.setOnClickListener(new View.OnClickListener() {
@Override