diff --git a/app/src/main/java/org/ntlab/irisclient/GameMasterActivity.java b/app/src/main/java/org/ntlab/irisclient/GameMasterActivity.java index bd5bdb3..e01c83b 100644 --- a/app/src/main/java/org/ntlab/irisclient/GameMasterActivity.java +++ b/app/src/main/java/org/ntlab/irisclient/GameMasterActivity.java @@ -91,6 +91,7 @@ gameViewModel.getMaxLiveData().observe(this, new Observer() { @Override public void onChanged(Integer new_HintMax) { + System.out.println("Gakuto:MasterActivity ヒントマックスが更新されました"); EditText HintMax = findViewById(R.id.GameHintMax); if(new_HintMax != 0){ HintMax.setText(new_HintMax.toString()); @@ -195,12 +196,15 @@ //非アクティブであればヒントの入力を禁止する EditText Hint = findViewById(R.id.GameHint); EditText HintMax = findViewById(R.id.GameHintMax); + Button SendHintButton = (Button) findViewById(R.id.SendHint); if(isActive == false){ Hint.setFocusable(false); HintMax.setFocusable(false); + SendHintButton.setFocusable(false); }else{ Hint.setFocusable(true); HintMax.setFocusable(true); + SendHintButton.setFocusable(true); } //デバッグ用