From bbb7c384161154b66b7fbbd157d1001634b8972a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=8D=E3=82=80=E3=81=AD=E3=81=93?= Date: Mon, 11 Dec 2023 11:55:23 +0900 Subject: [PATCH] =?UTF-8?q?=E7=B5=90=E6=9E=9C=E3=81=AE=E3=82=88=E3=81=BF?= =?UTF-8?q?=E3=81=93=E3=81=BF=E3=81=8B=E3=81=9F=E3=82=92=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../lacerta/feature/debug/DebugSharedPrefEditorFragment.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/feature/debug/src/main/java/one/nem/lacerta/feature/debug/DebugSharedPrefEditorFragment.java b/feature/debug/src/main/java/one/nem/lacerta/feature/debug/DebugSharedPrefEditorFragment.java index 709eaa62..88c87443 100644 --- a/feature/debug/src/main/java/one/nem/lacerta/feature/debug/DebugSharedPrefEditorFragment.java +++ b/feature/debug/src/main/java/one/nem/lacerta/feature/debug/DebugSharedPrefEditorFragment.java @@ -9,6 +9,7 @@ import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.EditText; +import android.widget.TextView; import one.nem.lacerta.source.pref.repository.Common; //TODO-rca: 名前変えるべきかも @@ -62,7 +63,8 @@ public class DebugSharedPrefEditorFragment extends Fragment { String key = loadKeyEditText.getText().toString(); String value = prefCommon.getStringValue(key); Log.d("loadButton", "key:" + key + " value:" + value); - view.findViewById(R.id.loadValueTextView).setContentDescription(value); + TextView loadValueTextView = view.findViewById(R.id.loadValueTextView); + loadValueTextView.setText(value); }); view.findViewById(R.id.saveButton).setOnClickListener(v -> {